#5E892F#5E892F

#5E892F is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.9% C 0.129 H 131.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5E892F
RGBrgb(94, 137, 47)
HSLhsl(89, 49%, 36%)
HSVhsv(89, 66%, 54%)
CMYKcmyk(31.4%, 0%, 65.7%, 46.3%)
CIE-LABlab(52.37, -30.18, 42.20)
CIE-LCHlch(52.37, 51.88, 125.57°)
OKLaboklab(57.92% -0.0848 0.097)
OKLCHoklch(57.92% 0.129 131.2)
XYZxyz(14.0747, 20.4758, 5.8994)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E892F #5A2F89
analogous
#89872F #5E892F #31892F
triadic
#5E892F #2F5E89 #892F5E
tetradic
#5E892F #2F8987 #5A2F89 #892F31
square
#5E892F #2F8987 #5A2F89 #892F31
split-complementary
#5E892F #2F3189 #872F89
monochromatic
#1F2E10 #3F5B1F #5E892F #7DB73F #9BCB67

Accessibility & contrast

On white

4.12
#5E892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5E892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E892F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E892F#FFFFFF#000000##000000
##5E892F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e892f;
/* rgb */ color: rgb(94, 137, 47);
/* oklch */ color: oklch(57.9% 0.129 131.2);
Tailwind
colors: {
  custom: {
    50: '#8fab6c',
    500: '#5e892f',
    950: '#000000',
  },
}
SCSS
$custom: #5e892f;
$custom-light: #8fab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e892f",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 88.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.12888,
    "h": 131.2
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#5E892F
secondary
#8862B2
accent
#4FD891
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E892F

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

Preview Lab → · Contrast checker → · Palette generator →

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