#5ba430
a dark, vivid green · neutral · closest name: Olive Drab
At a glance
Every number on this page in one read: what #5ba430 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #5ba430 |
| RGB | rgb(91, 164, 48) |
| HSL | hsl(98, 55%, 42%) |
| CMYK | cmyk(45%, 0%, 71%, 36%) |
| LAB | lab(60.8 -43.1 50.6) |
| LCH | lch(60.8 66.5 130.4) |
| OKLCH | oklch(0.647 0.166 136.2) |
| Decimal | 6005808 |
| Display P3 | color(display-p3 0.357 0.643 0.188) |
Copy-ready code
/* CSS */
color: #5ba430;
background-color: #5ba430;
/* Tailwind (arbitrary) */
class="text-[#5ba430] bg-[#5ba430]"
/* SCSS */
$brand: #5ba430;
/* SwiftUI */
Color(red: 0.357, green: 0.643, blue: 0.188)
/* Android */
Color.parseColor("#5ba430")
/* Flutter */
Color(0xFF5BA430)
/* Python / OpenCV (BGR) */
(48, 164, 91)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #5ba430 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F7FBF4;
--brand-100: #EEF6E9;
--brand-200: #DAEECE;
--brand-300: #BFE6A8;
--brand-400: #9FD97D;
--brand-500: #7FCC51;
--brand-600: #69BD37;
--brand-700: #5ba430;
--brand-800: #467E25;
--brand-900: #355C1E;
--brand-950: #213913;
--brand: #5ba430;
--brand-ink: #000000;
}Colors that work with #5ba430
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #5ba430
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Black text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #7930A4 | Directly opposite — maximum tension | |
| Analogous left | #95A430 | Neighbour, quieter | |
| Analogous right | #30A43F | Neighbour, quieter | |
| Split-complement 1 | #3F30A4 | Contrast without the clash | |
| Split-complement 2 | #A43095 | Contrast without the clash | |
| Triadic 1 | #305BA4 | Even thirds — balanced and loud | |
| Triadic 2 | #A4305B | Even thirds — balanced and loud | |
| Tetradic | #3095A4 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#5ba430 text on a black background
contrast 6.80:1
#5ba430 text on a white background
contrast 3.09:1
CSS3 live lab
The quick brown fox
color: #5ba430;
background-color: #5ba430;
Glowing headline
text-shadow: 2px 2px 8px #5ba430;
Soft neon halo
text-shadow: 0 0 14px rgba(91, 164, 48, 0.45);
box-shadow: 0 12px 32px -8px rgba(91, 164, 48, 0.45);
border: 3px solid #5ba430; background: linear-gradient(135deg, #5ba430, #30A452);
Monochromatic scale
Palettes built from #5ba430
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Forest Green (#228b22) — ΔE2000 10.2 away, with its history, psychology and brand usage.
#5ba430 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#5ba430, answered
What color is #5ba430?
#5ba430 is a dark vivid green, closest to Olive Drab (ΔE2000 8.2). It sits at 98° on the hue wheel with 55% saturation and 42% lightness, which reads as neutral.
What is the RGB value of #5ba430?
rgb(91, 164, 48) — 91 red, 164 green and 48 blue out of 255, or 35.7% / 64.3% / 18.8% by channel.
Is #5ba430 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2899 and perceived brightness is 53%, so black text on it reaches 6.80:1.
Should I use black or white text on #5ba430?
Black. It scores 6.80:1 against #5ba430, versus 3.09:1 for white — AA at any size.
What is the complementary color of #5ba430?
#7930A4 sits directly opposite on the wheel. Softer options are the split-complements #3F30A4 and #A43095, which give the same contrast with far less vibration.
What colors go well with #5ba430?
For interface work: #F7FAF4 as the surface, #D0EDC0 for borders, #689B4B for secondary text, #5B2CA8 as an accent and #37631D for hover and pressed states. For a palette, the analogous pair #95A430 and #30A43F stays calm, while #7930A4 is the loudest partner.
What is #5ba430 in CMYK for printing?
cmyk(45%, 0%, 71%, 36%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #5ba430 warm or cool?
Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #86A430; nudged cooler, #2EA62E.