#54902F#54902F

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

Color values

HEX#54902F
RGBrgb(84, 144, 47)
HSLhsl(97, 51%, 37%)
HSVhsv(97, 67%, 56%)
CMYKcmyk(41.7%, 0%, 67.4%, 43.5%)
CIE-LABlab(54.06, -37.05, 43.87)
CIE-LCHlch(54.06, 57.43, 130.19°)
OKLaboklab(59.15% -0.103 0.1007)
OKLCHoklch(59.15% 0.144 135.6)
XYZxyz(14.1422, 22.0358, 6.1969)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54902F #6B2F90
analogous
#85902F #54902F #2F903A
triadic
#54902F #2F5490 #902F54
tetradic
#54902F #2F8590 #6B2F90 #903A2F
square
#54902F #2F8590 #6B2F90 #903A2F
split-complementary
#54902F #3A2F90 #902F85
monochromatic
#1E3411 #396220 #54902F #6FBE3E #91CF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54902F#FFFFFF#000000##000000
##54902F1.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)
#958422
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#528B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54902f;
/* rgb */ color: rgb(84, 144, 47);
/* oklch */ color: oklch(59.2% 0.144 135.6);
Tailwind
colors: {
  custom: {
    50: '#89b16c',
    500: '#54902f',
    950: '#000000',
  },
}
SCSS
$custom: #54902f;
$custom-light: #89b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#54902f",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 97.113,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.14402,
    "h": 135.6
  },
  "luminance": 0.22037
}

Semantic roles & 50–950 ramp

primary
#54902F
secondary
#9765B6
accent
#4EDAA5
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54902F

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

Preview Lab → · Contrast checker → · Palette generator →

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