#5F901C#5F901C

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

Color values

HEX#5F901C
RGBrgb(95, 144, 28)
HSLhsl(85, 67%, 34%)
HSVhsv(85, 81%, 56%)
CMYKcmyk(34%, 0%, 80.6%, 43.5%)
CIE-LABlab(54.51, -34.33, 51.67)
CIE-LCHlch(54.51, 62.04, 123.60°)
OKLaboklab(59.64% -0.0977 0.114)
OKLCHoklch(59.64% 0.15 130.6)
XYZxyz(14.9021, 22.4627, 4.6490)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F901C #4D1C90
analogous
#90871C #5F901C #25901C
triadic
#5F901C #1C5F90 #901C5F
tetradic
#5F901C #1C9087 #4D1C90 #901C25
square
#5F901C #1C9087 #4D1C90 #901C25
split-complementary
#5F901C #1C2590 #871C90
monochromatic
#1B2A08 #3D5D12 #5F901C #81C326 #9EDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F901C#FFFFFF#000000##000000
##5F901C1.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: #5f901c;
/* rgb */ color: rgb(95, 144, 28);
/* oklch */ color: oklch(59.6% 0.150 130.6);
Tailwind
colors: {
  custom: {
    50: '#91b163',
    500: '#5f901c',
    950: '#000000',
  },
}
SCSS
$custom: #5f901c;
$custom-light: #91b163;
$custom-dark: #000000;
JSON
{
  "hex": "#5f901c",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 85.345,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.15017,
    "h": 130.6
  },
  "luminance": 0.22463
}

Semantic roles & 50–950 ramp

primary
#5F901C
secondary
#7B4ABE
accent
#3DEA86
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F901C

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

Preview Lab → · Contrast checker → · Palette generator →

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