#5F7011#5F7011

#5F7011 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.115 H 120.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5F7011
RGBrgb(95, 112, 17)
HSLhsl(71, 74%, 25%)
HSVhsv(71, 85%, 44%)
CMYKcmyk(15.2%, 0%, 84.8%, 56.1%)
CIE-LABlab(44.32, -19.22, 45.79)
CIE-LCHlch(44.32, 49.66, 112.77°)
OKLaboklab(51.35% -0.0575 0.0997)
OKLCHoklch(51.35% 0.115 120)
XYZxyz(10.6149, 14.0618, 2.6852)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7011 #221170
analogous
#705111 #5F7011 #2F7011
triadic
#5F7011 #115F70 #70115F
tetradic
#5F7011 #117051 #221170 #70112F
square
#5F7011 #117051 #221170 #70112F
split-complementary
#5F7011 #112F70 #511170
monochromatic
#171B04 #323B09 #5F7011 #8CA519 #B9DA21

Accessibility & contrast

On white

5.51
#5F7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5F7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7011
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7011#FFFFFF#000000##FFFFFF
##5F70111.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#65695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f7011;
/* rgb */ color: rgb(95, 112, 17);
/* oklch */ color: oklch(51.3% 0.115 120.0);
Tailwind
colors: {
  custom: {
    50: '#90995a',
    500: '#5f7011',
    950: '#000000',
  },
}
SCSS
$custom: #5f7011;
$custom-light: #90995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7011",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 70.737,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.11505,
    "h": 120
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#5F7011
secondary
#4A35A7
accent
#37F059
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F7011

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

Preview Lab → · Contrast checker → · Palette generator →

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