#5F6C11#5F6C11

#5F6C11 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.3% C 0.110 H 118.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F6C11
RGBrgb(95, 108, 17)
HSLhsl(69, 73%, 25%)
HSVhsv(69, 84%, 42%)
CMYKcmyk(12%, 0%, 84.3%, 57.6%)
CIE-LABlab(43.06, -17.10, 44.67)
CIE-LCHlch(43.06, 47.83, 110.94°)
OKLaboklab(50.33% -0.0517 0.0973)
OKLCHoklch(50.33% 0.11 118)
XYZxyz(10.1833, 13.1986, 2.5413)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6C11 #1E116C
analogous
#6C4B11 #5F6C11 #326C11
triadic
#5F6C11 #115F6C #6C115F
tetradic
#5F6C11 #116C4B #1E116C #6C1132
square
#5F6C11 #116C4B #1E116C #6C1132
split-complementary
#5F6C11 #11326C #4B116C
monochromatic
#171A04 #303709 #5F6C11 #8EA119 #BCD622

Accessibility & contrast

On white

5.77
#5F6C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5F6C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6C11
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6C11#FFFFFF#000000##FFFFFF
##5F6C111.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#65655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f6c11;
/* rgb */ color: rgb(95, 108, 17);
/* oklch */ color: oklch(50.3% 0.110 118.0);
Tailwind
colors: {
  custom: {
    50: '#8f9659',
    500: '#5f6c11',
    950: '#000000',
  },
}
SCSS
$custom: #5f6c11;
$custom-light: #8f9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6c11",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 68.571,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.11015,
    "h": 118
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#5F6C11
secondary
#4535A4
accent
#38EF52
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6C11

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

Preview Lab → · Contrast checker → · Palette generator →

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