#5E892B#5E892B

#5E892B is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.132 H 130.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5E892B
RGBrgb(94, 137, 43)
HSLhsl(87, 52%, 35%)
HSVhsv(87, 69%, 54%)
CMYKcmyk(31.4%, 0%, 68.6%, 46.3%)
CIE-LABlab(52.34, -30.51, 43.92)
CIE-LCHlch(52.34, 53.48, 124.79°)
OKLaboklab(57.88% -0.0861 0.1001)
OKLCHoklch(57.88% 0.132 130.7)
XYZxyz(13.9977, 20.4450, 5.4938)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E892B #562B89
analogous
#89852B #5E892B #2F892B
triadic
#5E892B #2B5E89 #892B5E
tetradic
#5E892B #2B8985 #562B89 #892B2F
square
#5E892B #2B8985 #562B89 #892B2F
split-complementary
#5E892B #2B2F89 #852B89
monochromatic
#1E2C0E #3E5A1C #5E892B #7EB83A #9CCD61

Accessibility & contrast

On white

4.13
#5E892B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5E892B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E892B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E892B#FFFFFF#000000##000000
##5E892B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#608376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e892b;
/* rgb */ color: rgb(94, 137, 43);
/* oklch */ color: oklch(57.9% 0.132 130.7);
Tailwind
colors: {
  custom: {
    50: '#8fab6a',
    500: '#5e892b',
    950: '#000000',
  },
}
SCSS
$custom: #5e892b;
$custom-light: #8fab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e892b",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 87.447,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.13203,
    "h": 130.7
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#5E892B
secondary
#845CB3
accent
#4CDC8E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E892B

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

Preview Lab → · Contrast checker → · Palette generator →

#5E892B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva