#5E9E1F#5E9E1F

#5E9E1F is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.2% C 0.167 H 133.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5E9E1F
RGBrgb(94, 158, 31)
HSLhsl(90, 67%, 37%)
HSVhsv(90, 80%, 62%)
CMYKcmyk(40.5%, 0%, 80.4%, 38%)
CIE-LABlab(58.91, -40.68, 54.81)
CIE-LCHlch(58.91, 68.26, 126.59°)
OKLaboklab(63.22% -0.1146 0.1211)
OKLCHoklch(63.22% 0.167 133.4)
XYZxyz(17.0900, 26.9315, 5.5939)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9E1F #5F1F9E
analogous
#9E9E1F #5E9E1F #1F9E1F
triadic
#5E9E1F #1F5E9E #9E1F5E
tetradic
#5E9E1F #1F9E9E #5F1F9E #9E1F1F
square
#5E9E1F #1F9E9E #5F1F9E #9E1F1F
split-complementary
#5E9E1F #1F1F9E #9E1F9E
monochromatic
#21380B #406B15 #5E9E1F #7CD129 #9BDE59

Accessibility & contrast

On white

3.29
#5E9E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5E9E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9E1F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9E1F#FFFFFF#000000##000000
##5E9E1F1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#5E9787
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e9e1f;
/* rgb */ color: rgb(94, 158, 31);
/* oklch */ color: oklch(63.2% 0.167 133.4);
Tailwind
colors: {
  custom: {
    50: '#91bb66',
    500: '#5e9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5e9e1f;
$custom-light: #91bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9e1f",
  "rgb": {
    "r": 94,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 90.236,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.16672,
    "h": 133.4
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#5E9E1F
secondary
#8D56C2
accent
#3EEA95
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5E9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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