#5F7622#5F7622

#5F7622 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 53.0% C 0.112 H 123.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5F7622
RGBrgb(95, 118, 34)
HSLhsl(76, 55%, 30%)
HSVhsv(76, 71%, 46%)
CMYKcmyk(19.5%, 0%, 71.2%, 53.7%)
CIE-LABlab(46.32, -21.41, 41.51)
CIE-LCHlch(46.32, 46.71, 117.28°)
OKLaboklab(52.99% -0.062 0.0937)
OKLCHoklch(52.99% 0.112 123.5)
XYZxyz(11.4866, 15.5052, 3.9007)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7622 #392276
analogous
#766322 #5F7622 #357622
triadic
#5F7622 #225F76 #76225F
tetradic
#5F7622 #227663 #392276 #762235
square
#5F7622 #227663 #392276 #762235
split-complementary
#5F7622 #223576 #632276
monochromatic
#131807 #394614 #5F7622 #85A630 #A7CA48

Accessibility & contrast

On white

5.12
#5F7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5F7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7622
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7622#FFFFFF#000000##FFFFFF
##5F76221.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#647065
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7622;
/* rgb */ color: rgb(95, 118, 34);
/* oklch */ color: oklch(53.0% 0.112 123.5);
Tailwind
colors: {
  custom: {
    50: '#8f9d62',
    500: '#5f7622',
    950: '#000000',
  },
}
SCSS
$custom: #5f7622;
$custom-light: #8f9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7622",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 76.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.11233,
    "h": 123.5
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#5F7622
secondary
#654BA9
accent
#49DF72
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5F7622

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

Preview Lab → · Contrast checker → · Palette generator →

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