#5E8620#5E8620

#5E8620 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.136 H 129.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E8620
RGBrgb(94, 134, 32)
HSLhsl(84, 61%, 33%)
HSVhsv(84, 76%, 53%)
CMYKcmyk(29.9%, 0%, 76.1%, 47.5%)
CIE-LABlab(51.31, -29.87, 47.25)
CIE-LCHlch(51.31, 55.90, 122.30°)
OKLaboklab(57.01% -0.0853 0.1054)
OKLCHoklch(57.01% 0.136 129)
XYZxyz(13.4019, 19.5338, 4.4305)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8620 #482086
analogous
#867B20 #5E8620 #2B8620
triadic
#5E8620 #205E86 #86205E
tetradic
#5E8620 #20867B #482086 #86202B
square
#5E8620 #20867B #482086 #86202B
split-complementary
#5E8620 #202B86 #7B2086
monochromatic
#192308 #3B5514 #5E8620 #81B72C #9FD44C

Accessibility & contrast

On white

4.28
#5E8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5E8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8620
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8620#FFFFFF#000000##000000
##5E86201.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#618072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e8620;
/* rgb */ color: rgb(94, 134, 32);
/* oklch */ color: oklch(57.0% 0.136 129.0);
Tailwind
colors: {
  custom: {
    50: '#8fa963',
    500: '#5e8620',
    950: '#000000',
  },
}
SCSS
$custom: #5e8620;
$custom-light: #8fa963;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8620",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 83.529,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.13559,
    "h": 129
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#5E8620
secondary
#754BB7
accent
#43E583
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8620

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

Preview Lab → · Contrast checker → · Palette generator →

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