#5F8529#5F8529

#5F8529 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.9% C 0.128 H 129.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F8529
RGBrgb(95, 133, 41)
HSLhsl(85, 53%, 34%)
HSVhsv(85, 69%, 52%)
CMYKcmyk(28.6%, 0%, 69.2%, 47.8%)
CIE-LABlab(51.11, -28.37, 43.51)
CIE-LCHlch(51.11, 51.94, 123.10°)
OKLaboklab(56.89% -0.0805 0.0989)
OKLCHoklch(56.89% 0.128 129.1)
XYZxyz(13.5070, 19.3677, 5.1241)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8529 #4F2985
analogous
#857D29 #5F8529 #318529
triadic
#5F8529 #295F85 #85295F
tetradic
#5F8529 #29857D #4F2985 #852931
square
#5F8529 #29857D #4F2985 #852931
split-complementary
#5F8529 #293185 #7D2985
monochromatic
#1C270C #3E561B #5F8529 #80B437 #9ECD5C

Accessibility & contrast

On white

4.31
#5F8529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5F8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8529
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8529#FFFFFF#000000##000000
##5F85291.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#627F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8529;
/* rgb */ color: rgb(95, 133, 41);
/* oklch */ color: oklch(56.9% 0.128 129.1);
Tailwind
colors: {
  custom: {
    50: '#8fa868',
    500: '#5f8529',
    950: '#000000',
  },
}
SCSS
$custom: #5f8529;
$custom-light: #8fa868;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8529",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 84.783,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.12752,
    "h": 129.1
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#5F8529
secondary
#7D58B2
accent
#4CDC87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8529

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

Preview Lab → · Contrast checker → · Palette generator →

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