#5F7111#5F7111

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

Color values

HEX#5F7111
RGBrgb(95, 113, 17)
HSLhsl(71, 74%, 25%)
HSVhsv(71, 85%, 44%)
CMYKcmyk(15.9%, 0%, 85%, 55.7%)
CIE-LABlab(44.64, -19.75, 46.07)
CIE-LCHlch(44.64, 50.12, 113.20°)
OKLaboklab(51.6% -0.0589 0.1002)
OKLCHoklch(51.6% 0.116 120.5)
XYZxyz(10.7258, 14.2837, 2.7222)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7111 #231171
analogous
#715311 #5F7111 #2F7111
triadic
#5F7111 #115F71 #71115F
tetradic
#5F7111 #117153 #231171 #71112F
square
#5F7111 #117153 #231171 #71112F
split-complementary
#5F7111 #112F71 #531171
monochromatic
#161B04 #323C09 #5F7111 #8CA619 #B8DB21

Accessibility & contrast

On white

5.44
#5F7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F7111
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7111#FFFFFF#000000##FFFFFF
##5F71111.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.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: #5f7111;
/* rgb */ color: rgb(95, 113, 17);
/* oklch */ color: oklch(51.6% 0.116 120.5);
Tailwind
colors: {
  custom: {
    50: '#90995a',
    500: '#5f7111',
    950: '#000000',
  },
}
SCSS
$custom: #5f7111;
$custom-light: #90995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7111",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 71.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.11628,
    "h": 120.5
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#5F7111
secondary
#4B36A8
accent
#37F15A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7111

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

Preview Lab → · Contrast checker → · Palette generator →

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