#5E8F1F#5E8F1F

#5E8F1F is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.148 H 130.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E8F1F
RGBrgb(94, 143, 31)
HSLhsl(86, 64%, 34%)
HSVhsv(86, 78%, 56%)
CMYKcmyk(34.3%, 0%, 78.3%, 43.9%)
CIE-LABlab(54.16, -34.10, 50.35)
CIE-LCHlch(54.16, 60.81, 124.11°)
OKLaboklab(59.33% -0.0968 0.1117)
OKLCHoklch(59.33% 0.148 130.9)
XYZxyz(14.6858, 22.1230, 4.7925)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F1F #501F8F
analogous
#8F881F #5E8F1F #268F1F
triadic
#5E8F1F #1F5E8F #8F1F5E
tetradic
#5E8F1F #1F8F88 #501F8F #8F1F26
square
#5E8F1F #1F8F88 #501F8F #8F1F26
split-complementary
#5E8F1F #1F268F #881F8F
monochromatic
#1C2A09 #3D5D14 #5E8F1F #7FC12A #9DD94F

Accessibility & contrast

On white

3.87
#5E8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5E8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F1F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F1F#FFFFFF#000000##000000
##5E8F1F1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968403
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8f1f;
/* rgb */ color: rgb(94, 143, 31);
/* oklch */ color: oklch(59.3% 0.148 130.9);
Tailwind
colors: {
  custom: {
    50: '#90b064',
    500: '#5e8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f1f;
$custom-light: #90b064;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f1f",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 86.25,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.14786,
    "h": 130.9
  },
  "luminance": 0.22124
}

Semantic roles & 50–950 ramp

primary
#5E8F1F
secondary
#7E4EBC
accent
#40E789
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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