#5F9020#5F9020

#5F9020 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.7% C 0.148 H 130.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5F9020
RGBrgb(95, 144, 32)
HSLhsl(86, 64%, 35%)
HSVhsv(86, 78%, 56%)
CMYKcmyk(34%, 0%, 77.8%, 43.5%)
CIE-LABlab(54.54, -34.11, 50.39)
CIE-LCHlch(54.54, 60.85, 124.10°)
OKLaboklab(59.66% -0.0969 0.1119)
OKLCHoklch(59.66% 0.148 130.9)
XYZxyz(14.9532, 22.4832, 4.9180)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9020 #512090
analogous
#908920 #5F9020 #279020
triadic
#5F9020 #205F90 #90205F
tetradic
#5F9020 #209089 #512090 #902027
square
#5F9020 #209089 #512090 #902027
split-complementary
#5F9020 #202790 #892090
monochromatic
#1D2C0A #3E5E15 #5F9020 #80C22B #9ED952

Accessibility & contrast

On white

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

On black

5.50
#5F9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9020
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9020#FFFFFF#000000##000000
##5F90201.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f9020;
/* rgb */ color: rgb(95, 144, 32);
/* oklch */ color: oklch(59.7% 0.148 130.9);
Tailwind
colors: {
  custom: {
    50: '#91b165',
    500: '#5f9020',
    950: '#000000',
  },
}
SCSS
$custom: #5f9020;
$custom-light: #91b165;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9020",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 86.25,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.14804,
    "h": 130.9
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#5F9020
secondary
#7F50BC
accent
#41E78A
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F9020

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

Preview Lab → · Contrast checker → · Palette generator →

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