#54902A#54902A

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

Color values

HEX#54902A
RGBrgb(84, 144, 42)
HSLhsl(95, 55%, 36%)
HSVhsv(95, 71%, 56%)
CMYKcmyk(41.7%, 0%, 70.8%, 43.5%)
CIE-LABlab(54.02, -37.48, 45.93)
CIE-LCHlch(54.02, 59.28, 129.21°)
OKLaboklab(59.11% -0.1045 0.1043)
OKLCHoklch(59.11% 0.148 135)
XYZxyz(14.0470, 21.9978, 5.6959)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54902A #662A90
analogous
#87902A #54902A #2A9033
triadic
#54902A #2A5490 #902A54
tetradic
#54902A #2A8790 #662A90 #90332A
square
#54902A #2A8790 #662A90 #90332A
split-complementary
#54902A #332A90 #902A87
monochromatic
#1D310E #38611C #54902A #70BF38 #90D163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54902A#FFFFFF#000000##000000
##54902A1.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)
#95841A
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#538A7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54902a;
/* rgb */ color: rgb(84, 144, 42);
/* oklch */ color: oklch(59.1% 0.148 135.0);
Tailwind
colors: {
  custom: {
    50: '#89b16a',
    500: '#54902a',
    950: '#000000',
  },
}
SCSS
$custom: #54902a;
$custom-light: #89b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#54902a",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 95.294,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.14768,
    "h": 135
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#54902A
secondary
#935EB7
accent
#4ADEA1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54902A

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

Preview Lab → · Contrast checker → · Palette generator →

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