#5F7322#5F7322

#5F7322 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.2% C 0.108 H 122.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F7322
RGBrgb(95, 115, 34)
HSLhsl(75, 54%, 29%)
HSVhsv(75, 70%, 45%)
CMYKcmyk(17.4%, 0%, 70.4%, 54.9%)
CIE-LABlab(45.37, -19.85, 40.54)
CIE-LCHlch(45.37, 45.14, 116.09°)
OKLaboklab(52.23% -0.0577 0.0916)
OKLCHoklch(52.23% 0.108 122.2)
XYZxyz(11.1389, 14.8098, 3.7848)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7322 #362273
analogous
#735F22 #5F7322 #377322
triadic
#5F7322 #225F73 #73225F
tetradic
#5F7322 #22735F #362273 #732237
square
#5F7322 #22735F #362273 #732237
split-complementary
#5F7322 #223773 #5F2273
monochromatic
#141807 #384414 #5F7322 #86A230 #A9C947

Accessibility & contrast

On white

5.30
#5F7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5F7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7322
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7322#FFFFFF#000000##FFFFFF
##5F73221.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#646D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f7322;
/* rgb */ color: rgb(95, 115, 34);
/* oklch */ color: oklch(52.2% 0.108 122.2);
Tailwind
colors: {
  custom: {
    50: '#8f9b62',
    500: '#5f7322',
    950: '#000000',
  },
}
SCSS
$custom: #5f7322;
$custom-light: #8f9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7322",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 74.815,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.10828,
    "h": 122.2
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#5F7322
secondary
#614BA6
accent
#4ADE6F
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5F7322

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

Preview Lab → · Contrast checker → · Palette generator →

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