#5E8B1B#5E8B1B

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

Color values

HEX#5E8B1B
RGBrgb(94, 139, 27)
HSLhsl(84, 67%, 33%)
HSVhsv(84, 81%, 55%)
CMYKcmyk(32.4%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.87, -32.48, 50.44)
CIE-LCHlch(52.87, 60.00, 122.78°)
OKLaboklab(58.27% -0.0928 0.1113)
OKLCHoklch(58.27% 0.145 129.8)
XYZxyz(14.0465, 20.9236, 4.3353)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B1B #481B8B
analogous
#8B801B #5E8B1B #268B1B
triadic
#5E8B1B #1B5E8B #8B1B5E
tetradic
#5E8B1B #1B8B80 #481B8B #8B1B26
square
#5E8B1B #1B8B80 #481B8B #8B1B26
split-complementary
#5E8B1B #1B268B #801B8B
monochromatic
#192507 #3B5811 #5E8B1B #81BE25 #9FDB45

Accessibility & contrast

On white

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

On black

5.18
#5E8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B1B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B1B#FFFFFF#000000##000000
##5E8B1B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8b1b;
/* rgb */ color: rgb(94, 139, 27);
/* oklch */ color: oklch(58.3% 0.145 129.8);
Tailwind
colors: {
  custom: {
    50: '#90ad62',
    500: '#5e8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b1b;
$custom-light: #90ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b1b",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 84.107,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.14486,
    "h": 129.8
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#5E8B1B
secondary
#7545BC
accent
#3DEA83
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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