#5F702F#5F702F

#5F702F is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.6% C 0.092 H 121.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5F702F
RGBrgb(95, 112, 47)
HSLhsl(76, 41%, 31%)
HSVhsv(76, 58%, 44%)
CMYKcmyk(15.2%, 0%, 58%, 56.1%)
CIE-LABlab(44.56, -17.16, 33.49)
CIE-LCHlch(44.56, 37.63, 117.13°)
OKLaboklab(51.61% -0.0489 0.0784)
OKLCHoklch(51.61% 0.092 121.9)
XYZxyz(11.0267, 14.2265, 4.8538)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F702F #402F70
analogous
#70602F #5F702F #3E702F
triadic
#5F702F #2F5F70 #702F5F
tetradic
#5F702F #2F7060 #402F70 #702F3E
square
#5F702F #2F7060 #402F70 #702F3E
split-complementary
#5F702F #2F3E70 #602F70
monochromatic
#161A0B #3A451D #5F702F #849B41 #A3BB5E

Accessibility & contrast

On white

5.46
#5F702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5F702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F702F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F702F#FFFFFF#000000##FFFFFF
##5F702F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A28
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#646B62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f702f;
/* rgb */ color: rgb(95, 112, 47);
/* oklch */ color: oklch(51.6% 0.092 121.9);
Tailwind
colors: {
  custom: {
    50: '#8e996a',
    500: '#5f702f',
    950: '#000000',
  },
}
SCSS
$custom: #5f702f;
$custom-light: #8e996a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f702f",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 75.692,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.0924,
    "h": 121.9
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#5F702F
secondary
#6C5AA1
accent
#57D177
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5F702F

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

Preview Lab → · Contrast checker → · Palette generator →

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