#5F8024#5F8024

#5F8024 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.124 H 127.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5F8024
RGBrgb(95, 128, 36)
HSLhsl(82, 56%, 32%)
HSVhsv(82, 72%, 50%)
CMYKcmyk(25.8%, 0%, 71.9%, 49.8%)
CIE-LABlab(49.49, -26.30, 43.92)
CIE-LCHlch(49.49, 51.20, 120.92°)
OKLaboklab(55.57% -0.0753 0.099)
OKLCHoklch(55.57% 0.124 127.2)
XYZxyz(12.7569, 17.9984, 4.4707)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8024 #452480
analogous
#807324 #5F8024 #318024
triadic
#5F8024 #245F80 #80245F
tetradic
#5F8024 #248073 #452480 #802431
square
#5F8024 #248073 #452480 #802431
split-complementary
#5F8024 #243180 #732480
monochromatic
#182009 #3C5017 #5F8024 #82B031 #A1CE50

Accessibility & contrast

On white

4.57
#5F8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5F8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8024
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8024#FFFFFF#000000##000000
##5F80241.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877715
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#637A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8024;
/* rgb */ color: rgb(95, 128, 36);
/* oklch */ color: oklch(55.6% 0.124 127.2);
Tailwind
colors: {
  custom: {
    50: '#8fa565',
    500: '#5f8024',
    950: '#000000',
  },
}
SCSS
$custom: #5f8024;
$custom-light: #8fa565;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8024",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 81.522,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55567,
    "c": 0.12439,
    "h": 127.2
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#5F8024
secondary
#724EB2
accent
#48DF7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8024

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

Preview Lab → · Contrast checker → · Palette generator →

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