#5F8629#5F8629

#5F8629 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.2% C 0.129 H 129.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5F8629
RGBrgb(95, 134, 41)
HSLhsl(85, 53%, 34%)
HSVhsv(85, 69%, 53%)
CMYKcmyk(29.1%, 0%, 69.4%, 47.5%)
CIE-LABlab(51.43, -28.85, 43.84)
CIE-LCHlch(51.43, 52.48, 123.35°)
OKLaboklab(57.15% -0.0818 0.0996)
OKLCHoklch(57.15% 0.129 129.4)
XYZxyz(13.6446, 19.6428, 5.1699)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8629 #502986
analogous
#867F29 #5F8629 #318629
triadic
#5F8629 #295F86 #86295F
tetradic
#5F8629 #29867F #502986 #862931
square
#5F8629 #29867F #502986 #862931
split-complementary
#5F8629 #293186 #7F2986
monochromatic
#1D280C #3E571B #5F8629 #80B537 #9ECD5C

Accessibility & contrast

On white

4.26
#5F8629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5F8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8629
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8629#FFFFFF#000000##000000
##5F86291.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#628073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f8629;
/* rgb */ color: rgb(95, 134, 41);
/* oklch */ color: oklch(57.2% 0.129 129.4);
Tailwind
colors: {
  custom: {
    50: '#90a968',
    500: '#5f8629',
    950: '#000000',
  },
}
SCSS
$custom: #5f8629;
$custom-light: #90a968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8629",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 85.161,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57151,
    "c": 0.12889,
    "h": 129.4
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#5F8629
secondary
#7E58B3
accent
#4BDD88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8629

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

Preview Lab → · Contrast checker → · Palette generator →

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