#5E801C#5E801C

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

Color values

HEX#5E801C
RGBrgb(94, 128, 28)
HSLhsl(80, 64%, 31%)
HSVhsv(80, 78%, 50%)
CMYKcmyk(26.6%, 0%, 78.1%, 49.8%)
CIE-LABlab(49.38, -27.22, 46.83)
CIE-LCHlch(49.38, 54.17, 120.17°)
OKLaboklab(55.44% -0.0784 0.1038)
OKLCHoklch(55.44% 0.13 127.1)
XYZxyz(12.5449, 17.9016, 3.8928)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E801C #3E1C80
analogous
#80701C #5E801C #2C801C
triadic
#5E801C #1C5E80 #801C5E
tetradic
#5E801C #1C8070 #3E1C80 #801C2C
square
#5E801C #1C8070 #3E1C80 #801C2C
split-complementary
#5E801C #1C2C80 #701C80
monochromatic
#141C06 #394E11 #5E801C #83B227 #A3D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E801C#FFFFFF#000000##000000
##5E801C1.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)
#877705
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#627A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e801c;
/* rgb */ color: rgb(94, 128, 28);
/* oklch */ color: oklch(55.4% 0.130 127.1);
Tailwind
colors: {
  custom: {
    50: '#8fa561',
    500: '#5e801c',
    950: '#000000',
  },
}
SCSS
$custom: #5e801c;
$custom-light: #8fa561;
$custom-dark: #000000;
JSON
{
  "hex": "#5e801c",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 80.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.13012,
    "h": 127.1
  },
  "luminance": 0.17902
}

Semantic roles & 50–950 ramp

primary
#5E801C
secondary
#6A44B3
accent
#41E779
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E801C

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

Preview Lab → · Contrast checker → · Palette generator →

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