#5E8E1F#5E8E1F

#5E8E1F is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.147 H 130.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5E8E1F
RGBrgb(94, 142, 31)
HSLhsl(86, 64%, 34%)
HSVhsv(86, 78%, 56%)
CMYKcmyk(33.8%, 0%, 78.2%, 44.3%)
CIE-LABlab(53.84, -33.65, 50.04)
CIE-LCHlch(53.84, 60.30, 123.91°)
OKLaboklab(59.08% -0.0956 0.1111)
OKLCHoklch(59.08% 0.147 130.7)
XYZxyz(14.5363, 21.8241, 4.7426)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8E1F #4F1F8E
analogous
#8E871F #5E8E1F #278E1F
triadic
#5E8E1F #1F5E8E #8E1F5E
tetradic
#5E8E1F #1F8E87 #4F1F8E #8E1F27
square
#5E8E1F #1F8E87 #4F1F8E #8E1F27
split-complementary
#5E8E1F #1F278E #871F8E
monochromatic
#1B2A09 #3D5C14 #5E8E1F #7FC02A #9DD94F

Accessibility & contrast

On white

3.91
#5E8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5E8E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8E1F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8E1F#FFFFFF#000000##000000
##5E8E1F1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#608879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8e1f;
/* rgb */ color: rgb(94, 142, 31);
/* oklch */ color: oklch(59.1% 0.147 130.7);
Tailwind
colors: {
  custom: {
    50: '#90af64',
    500: '#5e8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5e8e1f;
$custom-light: #90af64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8e1f",
  "rgb": {
    "r": 94,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 85.946,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.14657,
    "h": 130.7
  },
  "luminance": 0.21825
}

Semantic roles & 50–950 ramp

primary
#5E8E1F
secondary
#7D4DBB
accent
#41E789
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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