#5F901A#5F901A

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

Color values

HEX#5F901A
RGBrgb(95, 144, 26)
HSLhsl(85, 69%, 33%)
HSVhsv(85, 82%, 56%)
CMYKcmyk(34%, 0%, 81.9%, 43.5%)
CIE-LABlab(54.50, -34.43, 52.27)
CIE-LCHlch(54.50, 62.59, 123.37°)
OKLaboklab(59.62% -0.0981 0.1149)
OKLCHoklch(59.62% 0.151 130.5)
XYZxyz(14.8789, 22.4535, 4.5271)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F901A #4B1A90
analogous
#90861A #5F901A #24901A
triadic
#5F901A #1A5F90 #901A5F
tetradic
#5F901A #1A9086 #4B1A90 #901A24
square
#5F901A #1A9086 #4B1A90 #901A24
split-complementary
#5F901A #1A2490 #861A90
monochromatic
#1B2807 #3D5C11 #5F901A #81C423 #9FDE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F901A#FFFFFF#000000##000000
##5F901A1.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)
#908127
Tritanopia (blue-blind)
#61897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f901a;
/* rgb */ color: rgb(95, 144, 26);
/* oklch */ color: oklch(59.6% 0.151 130.5);
Tailwind
colors: {
  custom: {
    50: '#91b162',
    500: '#5f901a',
    950: '#000000',
  },
}
SCSS
$custom: #5f901a;
$custom-light: #91b162;
$custom-dark: #000000;
JSON
{
  "hex": "#5f901a",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 84.915,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.15114,
    "h": 130.5
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#5F901A
secondary
#7947BF
accent
#3CEC85
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F901A

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

Preview Lab → · Contrast checker → · Palette generator →

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