#54902E#54902E

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

Color values

HEX#54902E
RGBrgb(84, 144, 46)
HSLhsl(97, 52%, 37%)
HSVhsv(97, 68%, 56%)
CMYKcmyk(41.7%, 0%, 68.1%, 43.5%)
CIE-LABlab(54.06, -37.14, 44.29)
CIE-LCHlch(54.06, 57.81, 129.98°)
OKLaboklab(59.14% -0.1033 0.1014)
OKLCHoklch(59.14% 0.145 135.5)
XYZxyz(14.1222, 22.0278, 6.0919)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54902E #6A2E90
analogous
#85902E #54902E #2E9039
triadic
#54902E #2E5490 #902E54
tetradic
#54902E #2E8590 #6A2E90 #90392E
square
#54902E #2E8590 #6A2E90 #90392E
split-complementary
#54902E #392E90 #902E85
monochromatic
#1E3310 #39621F #54902E #6FBE3D #91CF69

Accessibility & contrast

On white

3.88
#54902E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#54902E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54902E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54902E#FFFFFF#000000##000000
##54902E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958421
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#528B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54902e;
/* rgb */ color: rgb(84, 144, 46);
/* oklch */ color: oklch(59.1% 0.145 135.5);
Tailwind
colors: {
  custom: {
    50: '#89b16c',
    500: '#54902e',
    950: '#000000',
  },
}
SCSS
$custom: #54902e;
$custom-light: #89b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#54902e",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 96.735,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59144,
    "c": 0.14477,
    "h": 135.5
  },
  "luminance": 0.22029
}

Semantic roles & 50–950 ramp

primary
#54902E
secondary
#9664B6
accent
#4DDBA4
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54902E

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

Preview Lab → · Contrast checker → · Palette generator →

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