#5F8328#5F8328

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

Color values

HEX#5F8328
RGBrgb(95, 131, 40)
HSLhsl(84, 53%, 34%)
HSVhsv(84, 69%, 51%)
CMYKcmyk(27.5%, 0%, 69.5%, 48.6%)
CIE-LABlab(50.47, -27.47, 43.26)
CIE-LCHlch(50.47, 51.25, 122.42°)
OKLaboklab(56.37% -0.0781 0.0983)
OKLCHoklch(56.37% 0.126 128.5)
XYZxyz(13.2186, 18.8184, 4.9430)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8328 #4C2883
analogous
#837928 #5F8328 #328328
triadic
#5F8328 #285F83 #83285F
tetradic
#5F8328 #288379 #4C2883 #832832
square
#5F8328 #288379 #4C2883 #832832
split-complementary
#5F8328 #283283 #792883
monochromatic
#1B250B #3D541A #5F8328 #81B236 #9FCC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8328#FFFFFF#000000##000000
##5F83281.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)
#897A1B
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#627D71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f8328;
/* rgb */ color: rgb(95, 131, 40);
/* oklch */ color: oklch(56.4% 0.126 128.5);
Tailwind
colors: {
  custom: {
    50: '#8fa767',
    500: '#5f8328',
    950: '#000000',
  },
}
SCSS
$custom: #5f8328;
$custom-light: #8fa767;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8328",
  "rgb": {
    "r": 95,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 83.736,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.12553,
    "h": 128.5
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#5F8328
secondary
#7A55B1
accent
#4BDD85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8328

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

Preview Lab → · Contrast checker → · Palette generator →

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