#5F8325#5F8325

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

Color values

HEX#5F8325
RGBrgb(95, 131, 37)
HSLhsl(83, 56%, 33%)
HSVhsv(83, 72%, 51%)
CMYKcmyk(27.5%, 0%, 71.8%, 48.6%)
CIE-LABlab(50.45, -27.70, 44.49)
CIE-LCHlch(50.45, 52.41, 121.90°)
OKLaboklab(56.35% -0.079 0.1004)
OKLCHoklch(56.35% 0.128 128.2)
XYZxyz(13.1695, 18.7988, 4.6846)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8325 #492583
analogous
#837825 #5F8325 #308325
triadic
#5F8325 #255F83 #83255F
tetradic
#5F8325 #258378 #492583 #832530
square
#5F8325 #258378 #492583 #832530
split-complementary
#5F8325 #253083 #782583
monochromatic
#1A240A #3C5318 #5F8325 #82B332 #A0CF54

Accessibility & contrast

On white

4.41
#5F8325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8325#FFFFFF#000000##000000
##5F83251.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f8325;
/* rgb */ color: rgb(95, 131, 37);
/* oklch */ color: oklch(56.3% 0.128 128.2);
Tailwind
colors: {
  custom: {
    50: '#90a766',
    500: '#5f8325',
    950: '#000000',
  },
}
SCSS
$custom: #5f8325;
$custom-light: #90a766;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8325",
  "rgb": {
    "r": 95,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 82.979,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.12774,
    "h": 128.2
  },
  "luminance": 0.18799
}

Semantic roles & 50–950 ramp

primary
#5F8325
secondary
#7651B3
accent
#49DF82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8325

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

Preview Lab → · Contrast checker → · Palette generator →

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