#5F8422#5F8422

#5F8422 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.6% C 0.131 H 128.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5F8422
RGBrgb(95, 132, 34)
HSLhsl(83, 59%, 33%)
HSVhsv(83, 74%, 52%)
CMYKcmyk(28%, 0%, 74.2%, 48.2%)
CIE-LABlab(50.75, -28.38, 45.97)
CIE-LCHlch(50.75, 54.03, 121.69°)
OKLaboklab(56.58% -0.0811 0.103)
OKLCHoklch(56.58% 0.131 128.2)
XYZxyz(13.2593, 19.0506, 4.4916)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8422 #472284
analogous
#847822 #5F8422 #2E8422
triadic
#5F8422 #225F84 #84225F
tetradic
#5F8422 #228478 #472284 #84222E
square
#5F8422 #228478 #472284 #84222E
split-complementary
#5F8422 #222E84 #782284
monochromatic
#192309 #3C5315 #5F8422 #82B52F #A0D24F

Accessibility & contrast

On white

4.37
#5F8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5F8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8422
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8422#FFFFFF#000000##000000
##5F84221.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A10
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#627E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f8422;
/* rgb */ color: rgb(95, 132, 34);
/* oklch */ color: oklch(56.6% 0.131 128.2);
Tailwind
colors: {
  custom: {
    50: '#90a864',
    500: '#5f8422',
    950: '#000000',
  },
}
SCSS
$custom: #5f8422;
$custom-light: #90a864;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8422",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 82.653,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.13114,
    "h": 128.2
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#5F8422
secondary
#744DB5
accent
#46E281
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8422

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

Preview Lab → · Contrast checker → · Palette generator →

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