#5F7411#5F7411

#5F7411 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.120 H 121.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5F7411
RGBrgb(95, 116, 17)
HSLhsl(73, 74%, 26%)
HSVhsv(73, 85%, 45%)
CMYKcmyk(18.1%, 0%, 85.3%, 54.5%)
CIE-LABlab(45.59, -21.30, 46.90)
CIE-LCHlch(45.59, 51.51, 114.43°)
OKLaboklab(52.37% -0.0632 0.102)
OKLCHoklch(52.37% 0.12 121.8)
XYZxyz(11.0661, 14.9641, 2.8356)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7411 #261174
analogous
#745711 #5F7411 #2D7411
triadic
#5F7411 #115F74 #74115F
tetradic
#5F7411 #117457 #261174 #74112D
square
#5F7411 #117457 #261174 #74112D
split-complementary
#5F7411 #112D74 #571174
monochromatic
#161B04 #333F09 #5F7411 #8BA919 #B6DE21

Accessibility & contrast

On white

5.26
#5F7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5F7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7411
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7411#FFFFFF#000000##FFFFFF
##5F74111.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#656D62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7411;
/* rgb */ color: rgb(95, 116, 17);
/* oklch */ color: oklch(52.4% 0.120 121.8);
Tailwind
colors: {
  custom: {
    50: '#909c5a',
    500: '#5f7411',
    950: '#000000',
  },
}
SCSS
$custom: #5f7411;
$custom-light: #909c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7411",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 72.727,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.12,
    "h": 121.8
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#5F7411
secondary
#4F36AB
accent
#37F15E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7411

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

Preview Lab → · Contrast checker → · Palette generator →

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