#5F8124#5F8124

#5F8124 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.8% C 0.126 H 127.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5F8124
RGBrgb(95, 129, 36)
HSLhsl(82, 56%, 32%)
HSVhsv(82, 72%, 51%)
CMYKcmyk(26.4%, 0%, 72.1%, 49.4%)
CIE-LABlab(49.81, -26.79, 44.25)
CIE-LCHlch(49.81, 51.73, 121.20°)
OKLaboklab(55.82% -0.0766 0.0997)
OKLCHoklch(55.82% 0.126 127.5)
XYZxyz(12.8880, 18.2605, 4.5143)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8124 #462481
analogous
#817424 #5F8124 #318124
triadic
#5F8124 #245F81 #81245F
tetradic
#5F8124 #248174 #462481 #812431
square
#5F8124 #248174 #462481 #812431
split-complementary
#5F8124 #243181 #742481
monochromatic
#192109 #3C5117 #5F8124 #82B131 #A1CE51

Accessibility & contrast

On white

4.51
#5F8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5F8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8124
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8124#FFFFFF#000000##000000
##5F81241.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887815
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#637B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8124;
/* rgb */ color: rgb(95, 129, 36);
/* oklch */ color: oklch(55.8% 0.126 127.5);
Tailwind
colors: {
  custom: {
    50: '#8fa565',
    500: '#5f8124',
    950: '#000000',
  },
}
SCSS
$custom: #5f8124;
$custom-light: #8fa565;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8124",
  "rgb": {
    "r": 95,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 81.935,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.12575,
    "h": 127.5
  },
  "luminance": 0.18261
}

Semantic roles & 50–950 ramp

primary
#5F8124
secondary
#734EB2
accent
#48E080
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8124

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

Preview Lab → · Contrast checker → · Palette generator →

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