#5F8322#5F8322

#5F8322 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.130 H 127.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5F8322
RGBrgb(95, 131, 34)
HSLhsl(82, 59%, 32%)
HSVhsv(82, 74%, 51%)
CMYKcmyk(27.5%, 0%, 74%, 48.6%)
CIE-LABlab(50.43, -27.90, 45.66)
CIE-LCHlch(50.43, 53.51, 121.43°)
OKLaboklab(56.32% -0.0798 0.1024)
OKLCHoklch(56.32% 0.13 127.9)
XYZxyz(13.1244, 18.7807, 4.4466)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8322 #462283
analogous
#837722 #5F8322 #2F8322
triadic
#5F8322 #225F83 #83225F
tetradic
#5F8322 #228377 #462283 #83222F
square
#5F8322 #228377 #462283 #83222F
split-complementary
#5F8322 #222F83 #772283
monochromatic
#192209 #3C5215 #5F8322 #82B42F #A1D14E

Accessibility & contrast

On white

4.42
#5F8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5F8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8322
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8322#FFFFFF#000000##000000
##5F83221.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A11
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#627D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f8322;
/* rgb */ color: rgb(95, 131, 34);
/* oklch */ color: oklch(56.3% 0.130 127.9);
Tailwind
colors: {
  custom: {
    50: '#90a764',
    500: '#5f8322',
    950: '#000000',
  },
}
SCSS
$custom: #5f8322;
$custom-light: #90a764;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8322",
  "rgb": {
    "r": 95,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 82.268,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56321,
    "c": 0.1298,
    "h": 127.9
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#5F8322
secondary
#734CB4
accent
#46E280
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8322

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

Preview Lab → · Contrast checker → · Palette generator →

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