#5F9019#5F9019

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

Color values

HEX#5F9019
RGBrgb(95, 144, 25)
HSLhsl(85, 70%, 33%)
HSVhsv(85, 83%, 56%)
CMYKcmyk(34%, 0%, 82.6%, 43.5%)
CIE-LABlab(54.50, -34.47, 52.56)
CIE-LCHlch(54.50, 62.86, 123.26°)
OKLaboklab(59.62% -0.0983 0.1154)
OKLCHoklch(59.62% 0.152 130.4)
XYZxyz(14.8680, 22.4491, 4.4693)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9019 #4A1990
analogous
#908519 #5F9019 #239019
triadic
#5F9019 #195F90 #90195F
tetradic
#5F9019 #199085 #4A1990 #901923
square
#5F9019 #199085 #4A1990 #901923
split-complementary
#5F9019 #192390 #851990
monochromatic
#1A2807 #3D5C10 #5F9019 #81C422 #9FDF45

Accessibility & contrast

On white

3.83
#5F9019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9019#FFFFFF#000000##000000
##5F90191.003.835.495.49
#FFFFFF3.831.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)
#61897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f9019;
/* rgb */ color: rgb(95, 144, 25);
/* oklch */ color: oklch(59.6% 0.152 130.4);
Tailwind
colors: {
  custom: {
    50: '#91b162',
    500: '#5f9019',
    950: '#000000',
  },
}
SCSS
$custom: #5f9019;
$custom-light: #91b162;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9019",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 84.706,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.1516,
    "h": 130.4
  },
  "luminance": 0.2245
}

Semantic roles & 50–950 ramp

primary
#5F9019
secondary
#7845C0
accent
#3BED84
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F9019

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

Preview Lab → · Contrast checker → · Palette generator →

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