#5F8620#5F8620

#5F8620 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.1% C 0.135 H 128.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F8620
RGBrgb(95, 134, 32)
HSLhsl(83, 61%, 33%)
HSVhsv(83, 76%, 53%)
CMYKcmyk(29.1%, 0%, 76.1%, 47.5%)
CIE-LABlab(51.37, -29.47, 47.33)
CIE-LCHlch(51.37, 55.76, 121.90°)
OKLaboklab(57.08% -0.0843 0.1055)
OKLCHoklch(57.08% 0.135 128.6)
XYZxyz(13.5051, 19.5870, 4.4354)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8620 #472086
analogous
#867A20 #5F8620 #2C8620
triadic
#5F8620 #205F86 #86205F
tetradic
#5F8620 #20867A #472086 #86202C
square
#5F8620 #20867A #472086 #86202C
split-complementary
#5F8620 #202C86 #7A2086
monochromatic
#192308 #3C5514 #5F8620 #82B72C #A0D44C

Accessibility & contrast

On white

4.27
#5F8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5F8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8620
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8620#FFFFFF#000000##000000
##5F86201.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#877A2A
Tritanopia (blue-blind)
#628072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8620;
/* rgb */ color: rgb(95, 134, 32);
/* oklch */ color: oklch(57.1% 0.135 128.6);
Tailwind
colors: {
  custom: {
    50: '#90a963',
    500: '#5f8620',
    950: '#000000',
  },
}
SCSS
$custom: #5f8620;
$custom-light: #90a963;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8620",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 82.941,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.13505,
    "h": 128.6
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#5F8620
secondary
#744BB7
accent
#43E581
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8620

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

Preview Lab → · Contrast checker → · Palette generator →

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