#5F8622#5F8622

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

Color values

HEX#5F8622
RGBrgb(95, 134, 34)
HSLhsl(83, 60%, 33%)
HSVhsv(83, 75%, 53%)
CMYKcmyk(29.1%, 0%, 74.6%, 47.5%)
CIE-LABlab(51.38, -29.34, 46.60)
CIE-LCHlch(51.38, 55.07, 122.19°)
OKLaboklab(57.09% -0.0837 0.1043)
OKLCHoklch(57.09% 0.134 128.8)
XYZxyz(13.5331, 19.5982, 4.5829)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8622 #492286
analogous
#867B22 #5F8622 #2D8622
triadic
#5F8622 #225F86 #86225F
tetradic
#5F8622 #22867B #492286 #86222D
square
#5F8622 #22867B #492286 #86222D
split-complementary
#5F8622 #222D86 #7B2286
monochromatic
#1A2409 #3C5516 #5F8622 #82B72E #A0D350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8622#FFFFFF#000000##000000
##5F86221.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)
#8D7C0F
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#628073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8622;
/* rgb */ color: rgb(95, 134, 34);
/* oklch */ color: oklch(57.1% 0.134 128.8);
Tailwind
colors: {
  custom: {
    50: '#90a964',
    500: '#5f8622',
    950: '#000000',
  },
}
SCSS
$custom: #5f8622;
$custom-light: #90a964;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8622",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 83.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.13379,
    "h": 128.8
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#5F8622
secondary
#764EB6
accent
#45E383
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8622

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

Preview Lab → · Contrast checker → · Palette generator →

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