#54962F#54962F

#54962F is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.7% C 0.152 H 136.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#54962F
RGBrgb(84, 150, 47)
HSLhsl(98, 52%, 39%)
HSVhsv(98, 69%, 59%)
CMYKcmyk(44%, 0%, 68.7%, 41.2%)
CIE-LABlab(55.99, -39.65, 45.92)
CIE-LCHlch(55.99, 60.67, 130.81°)
OKLaboklab(60.73% -0.11 0.105)
OKLCHoklch(60.73% 0.152 136.3)
XYZxyz(15.0752, 23.9019, 6.5079)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54962F #712F96
analogous
#87962F #54962F #2F963E
triadic
#54962F #2F5496 #962F54
tetradic
#54962F #2F8796 #712F96 #963E2F
square
#54962F #2F8796 #712F96 #963E2F
split-complementary
#54962F #3E2F96 #962F87
monochromatic
#203912 #3A6720 #54962F #6FC33F #92D26E

Accessibility & contrast

On white

3.63
#54962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#54962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54962F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54962F#FFFFFF#000000##000000
##54962F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#519181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #54962f;
/* rgb */ color: rgb(84, 150, 47);
/* oklch */ color: oklch(60.7% 0.152 136.3);
Tailwind
colors: {
  custom: {
    50: '#8ab56d',
    500: '#54962f',
    950: '#000000',
  },
}
SCSS
$custom: #54962f;
$custom-light: #8ab56d;
$custom-dark: #000000;
JSON
{
  "hex": "#54962f",
  "rgb": {
    "r": 84,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 98.447,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60729,
    "c": 0.15208,
    "h": 136.3
  },
  "luminance": 0.23903
}

Semantic roles & 50–950 ramp

primary
#54962F
secondary
#9C68B9
accent
#4CDCA8
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54962F

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

Preview Lab → · Contrast checker → · Palette generator →

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