#5E8B1C#5E8B1C

#5E8B1C is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.144 H 129.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5E8B1C
RGBrgb(94, 139, 28)
HSLhsl(84, 66%, 33%)
HSVhsv(84, 80%, 55%)
CMYKcmyk(32.4%, 0%, 79.9%, 45.5%)
CIE-LABlab(52.87, -32.43, 50.12)
CIE-LCHlch(52.87, 59.70, 122.90°)
OKLaboklab(58.28% -0.0926 0.1108)
OKLCHoklch(58.28% 0.144 129.9)
XYZxyz(14.0583, 20.9283, 4.3973)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B1C #491C8B
analogous
#8B801C #5E8B1C #278B1C
triadic
#5E8B1C #1C5E8B #8B1C5E
tetradic
#5E8B1C #1C8B80 #491C8B #8B1C27
square
#5E8B1C #1C8B80 #491C8B #8B1C27
split-complementary
#5E8B1C #1C278B #801C8B
monochromatic
#192507 #3C5812 #5E8B1C #80BE26 #9FDA47

Accessibility & contrast

On white

4.05
#5E8B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5E8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B1C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B1C#FFFFFF#000000##000000
##5E8B1C1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#618576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8b1c;
/* rgb */ color: rgb(94, 139, 28);
/* oklch */ color: oklch(58.3% 0.144 129.9);
Tailwind
colors: {
  custom: {
    50: '#90ad62',
    500: '#5e8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b1c;
$custom-light: #90ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b1c",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 84.324,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.14434,
    "h": 129.9
  },
  "luminance": 0.20929
}

Semantic roles & 50–950 ramp

primary
#5E8B1C
secondary
#7647BC
accent
#3EE984
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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