#54902B#54902B

#54902B is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.1% C 0.147 H 135.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#54902B
RGBrgb(84, 144, 43)
HSLhsl(96, 54%, 37%)
HSVhsv(96, 70%, 56%)
CMYKcmyk(41.7%, 0%, 70.1%, 43.5%)
CIE-LABlab(54.03, -37.40, 45.53)
CIE-LCHlch(54.03, 58.92, 129.40°)
OKLaboklab(59.12% -0.1042 0.1036)
OKLCHoklch(59.12% 0.147 135.2)
XYZxyz(14.0651, 22.0050, 5.7913)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54902B #672B90
analogous
#87902B #54902B #2B9035
triadic
#54902B #2B5490 #902B54
tetradic
#54902B #2B8790 #672B90 #90352B
square
#54902B #2B8790 #672B90 #90352B
split-complementary
#54902B #352B90 #902B87
monochromatic
#1D320F #39611D #54902B #6FBF39 #91D165

Accessibility & contrast

On white

3.89
#54902B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#54902B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54902B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54902B#FFFFFF#000000##000000
##54902B1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841C
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#538B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54902b;
/* rgb */ color: rgb(84, 144, 43);
/* oklch */ color: oklch(59.1% 0.147 135.2);
Tailwind
colors: {
  custom: {
    50: '#89b16a',
    500: '#54902b',
    950: '#000000',
  },
}
SCSS
$custom: #54902b;
$custom-light: #89b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#54902b",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 95.644,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.14697,
    "h": 135.2
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#54902B
secondary
#9460B7
accent
#4ADDA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54902B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#54902B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva