#5F702E#5F702E

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

Color values

HEX#5F702E
RGBrgb(95, 112, 46)
HSLhsl(75, 42%, 31%)
HSVhsv(75, 59%, 44%)
CMYKcmyk(15.2%, 0%, 58.9%, 56.1%)
CIE-LABlab(44.54, -17.26, 33.99)
CIE-LCHlch(44.54, 38.12, 116.92°)
OKLaboklab(51.6% -0.0492 0.0794)
OKLCHoklch(51.6% 0.093 121.8)
XYZxyz(11.0067, 14.2185, 4.7488)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F702E #3F2E70
analogous
#70602E #5F702E #3E702E
triadic
#5F702E #2E5F70 #702E5F
tetradic
#5F702E #2E7060 #3F2E70 #702E3E
square
#5F702E #2E7060 #3F2E70 #702E3E
split-complementary
#5F702E #2E3E70 #602E70
monochromatic
#15190A #3A451C #5F702E #849B40 #A3BC5C

Accessibility & contrast

On white

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

On black

3.84
#5F702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F702E#FFFFFF#000000##FFFFFF
##5F702E1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f702e;
/* rgb */ color: rgb(95, 112, 46);
/* oklch */ color: oklch(51.6% 0.093 121.8);
Tailwind
colors: {
  custom: {
    50: '#8e9969',
    500: '#5f702e',
    950: '#000000',
  },
}
SCSS
$custom: #5f702e;
$custom-light: #8e9969;
$custom-dark: #000000;
JSON
{
  "hex": "#5f702e",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 75.455,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.09342,
    "h": 121.8
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#5F702E
secondary
#6B58A1
accent
#56D276
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5F702E

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

Preview Lab → · Contrast checker → · Palette generator →

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