#5F901D#5F901D

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

Color values

HEX#5F901D
RGBrgb(95, 144, 29)
HSLhsl(86, 66%, 34%)
HSVhsv(86, 80%, 56%)
CMYKcmyk(34%, 0%, 79.9%, 43.5%)
CIE-LABlab(54.52, -34.28, 51.36)
CIE-LCHlch(54.52, 61.75, 123.72°)
OKLaboklab(59.64% -0.0975 0.1135)
OKLCHoklch(59.64% 0.15 130.7)
XYZxyz(14.9142, 22.4676, 4.7130)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F901D #4E1D90
analogous
#90881D #5F901D #26901D
triadic
#5F901D #1D5F90 #901D5F
tetradic
#5F901D #1D9088 #4E1D90 #901D26
square
#5F901D #1D9088 #4E1D90 #901D26
split-complementary
#5F901D #1D2690 #881D90
monochromatic
#1C2A08 #3D5D13 #5F901D #81C327 #9EDB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F901D#FFFFFF#000000##000000
##5F901D1.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)
#908129
Tritanopia (blue-blind)
#618A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f901d;
/* rgb */ color: rgb(95, 144, 29);
/* oklch */ color: oklch(59.6% 0.150 130.7);
Tailwind
colors: {
  custom: {
    50: '#91b163',
    500: '#5f901d',
    950: '#000000',
  },
}
SCSS
$custom: #5f901d;
$custom-light: #91b163;
$custom-dark: #000000;
JSON
{
  "hex": "#5f901d",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 85.565,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.14966,
    "h": 130.7
  },
  "luminance": 0.22468
}

Semantic roles & 50–950 ramp

primary
#5F901D
secondary
#7C4BBD
accent
#3EE987
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F901D

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

Preview Lab → · Contrast checker → · Palette generator →

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