#5E801F#5E801F

#5E801F is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.128 H 127.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5E801F
RGBrgb(94, 128, 31)
HSLhsl(81, 61%, 31%)
HSVhsv(81, 76%, 50%)
CMYKcmyk(26.6%, 0%, 75.8%, 49.8%)
CIE-LABlab(49.39, -27.05, 45.76)
CIE-LCHlch(49.39, 53.16, 120.58°)
OKLaboklab(55.46% -0.0777 0.1021)
OKLCHoklch(55.46% 0.128 127.3)
XYZxyz(12.5826, 17.9167, 4.0914)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E801F #411F80
analogous
#80711F #5E801F #2D801F
triadic
#5E801F #1F5E80 #801F5E
tetradic
#5E801F #1F8071 #411F80 #801F2D
square
#5E801F #1F8071 #411F80 #801F2D
split-complementary
#5E801F #1F2D80 #711F80
monochromatic
#161D07 #3A4F13 #5E801F #82B12B #A2D247

Accessibility & contrast

On white

4.58
#5E801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5E801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E801F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E801F#FFFFFF#000000##000000
##5E801F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770C
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#627A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e801f;
/* rgb */ color: rgb(94, 128, 31);
/* oklch */ color: oklch(55.5% 0.128 127.3);
Tailwind
colors: {
  custom: {
    50: '#8fa562',
    500: '#5e801f',
    950: '#000000',
  },
}
SCSS
$custom: #5e801f;
$custom-light: #8fa562;
$custom-dark: #000000;
JSON
{
  "hex": "#5e801f",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 81.031,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.12829,
    "h": 127.3
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#5E801F
secondary
#6D48B3
accent
#44E47C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E801F

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

Preview Lab → · Contrast checker → · Palette generator →

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