#5F7110#5F7110

#5F7110 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.117 H 120.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5F7110
RGBrgb(95, 113, 16)
HSLhsl(71, 75%, 25%)
HSVhsv(71, 86%, 44%)
CMYKcmyk(15.9%, 0%, 85.8%, 55.7%)
CIE-LABlab(44.63, -19.78, 46.35)
CIE-LCHlch(44.63, 50.39, 113.12°)
OKLaboklab(51.6% -0.0591 0.1007)
OKLCHoklch(51.6% 0.117 120.4)
XYZxyz(10.7182, 14.2806, 2.6819)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7110 #221071
analogous
#715210 #5F7110 #2E7110
triadic
#5F7110 #105F71 #71105F
tetradic
#5F7110 #107152 #221071 #71102E
square
#5F7110 #107152 #221071 #71102E
split-complementary
#5F7110 #102E71 #521071
monochromatic
#171B04 #323B08 #5F7110 #8CA718 #B9DC1F

Accessibility & contrast

On white

5.45
#5F7110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5F7110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7110
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7110#FFFFFF#000000##FFFFFF
##5F71101.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#656A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f7110;
/* rgb */ color: rgb(95, 113, 16);
/* oklch */ color: oklch(51.6% 0.117 120.4);
Tailwind
colors: {
  custom: {
    50: '#909959',
    500: '#5f7110',
    950: '#000000',
  },
}
SCSS
$custom: #5f7110;
$custom-light: #909959;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7110",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 16
  },
  "hsl": {
    "h": 71.134,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.11674,
    "h": 120.4
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#5F7110
secondary
#4A34A9
accent
#36F259
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7110

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

Preview Lab → · Contrast checker → · Palette generator →

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