#5E831B#5E831B

#5E831B is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.135 H 127.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E831B
RGBrgb(94, 131, 27)
HSLhsl(81, 66%, 31%)
HSVhsv(81, 79%, 51%)
CMYKcmyk(28.2%, 0%, 79.4%, 48.6%)
CIE-LABlab(50.32, -28.73, 48.07)
CIE-LCHlch(50.32, 56.00, 120.86°)
OKLaboklab(56.21% -0.0826 0.1063)
OKLCHoklch(56.21% 0.135 127.8)
XYZxyz(12.9302, 18.6911, 3.9632)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E831B #401B83
analogous
#83741B #5E831B #2A831B
triadic
#5E831B #1B5E83 #831B5E
tetradic
#5E831B #1B8374 #401B83 #831B2A
square
#5E831B #1B8374 #401B83 #831B2A
split-complementary
#5E831B #1B2A83 #741B83
monochromatic
#151E06 #3A5011 #5E831B #82B625 #A2D841

Accessibility & contrast

On white

4.43
#5E831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5E831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E831B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E831B#FFFFFF#000000##000000
##5E831B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#627D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e831b;
/* rgb */ color: rgb(94, 131, 27);
/* oklch */ color: oklch(56.2% 0.135 127.8);
Tailwind
colors: {
  custom: {
    50: '#8fa761',
    500: '#5e831b',
    950: '#000000',
  },
}
SCSS
$custom: #5e831b;
$custom-light: #8fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#5e831b",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 81.346,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.13458,
    "h": 127.8
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#5E831B
secondary
#6C43B6
accent
#3FE97B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E831B

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

Preview Lab → · Contrast checker → · Palette generator →

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