#5F901E#5F901E

#5F901E is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.6% C 0.149 H 130.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F901E
RGBrgb(95, 144, 30)
HSLhsl(86, 66%, 34%)
HSVhsv(86, 79%, 56%)
CMYKcmyk(34%, 0%, 79.2%, 43.5%)
CIE-LABlab(54.52, -34.23, 51.05)
CIE-LCHlch(54.52, 61.46, 123.84°)
OKLaboklab(59.65% -0.0973 0.113)
OKLCHoklch(59.65% 0.149 130.7)
XYZxyz(14.9268, 22.4726, 4.7792)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F901E #4F1E90
analogous
#90881E #5F901E #26901E
triadic
#5F901E #1E5F90 #901E5F
tetradic
#5F901E #1E9088 #4F1E90 #901E26
square
#5F901E #1E9088 #4F1E90 #901E26
split-complementary
#5F901E #1E2690 #881E90
monochromatic
#1C2B09 #3E5D13 #5F901E #80C329 #9EDA4E

Accessibility & contrast

On white

3.82
#5F901E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5F901E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F901E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F901E#FFFFFF#000000##000000
##5F901E1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#618A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f901e;
/* rgb */ color: rgb(95, 144, 30);
/* oklch */ color: oklch(59.6% 0.149 130.7);
Tailwind
colors: {
  custom: {
    50: '#91b164',
    500: '#5f901e',
    950: '#000000',
  },
}
SCSS
$custom: #5f901e;
$custom-light: #91b164;
$custom-dark: #000000;
JSON
{
  "hex": "#5f901e",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 85.789,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59647,
    "c": 0.14913,
    "h": 130.7
  },
  "luminance": 0.22473
}

Semantic roles & 50–950 ramp

primary
#5F901E
secondary
#7D4DBD
accent
#3FE888
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F901E

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

Preview Lab → · Contrast checker → · Palette generator →

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