#5F6B11#5F6B11

#5F6B11 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.1% C 0.109 H 117.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5F6B11
RGBrgb(95, 107, 17)
HSLhsl(68, 73%, 24%)
HSVhsv(68, 84%, 42%)
CMYKcmyk(11.2%, 0%, 84.1%, 58%)
CIE-LABlab(42.75, -16.56, 44.39)
CIE-LCHlch(42.75, 47.38, 110.46°)
OKLaboklab(50.08% -0.0502 0.0967)
OKLCHoklch(50.08% 0.109 117.4)
XYZxyz(10.0784, 12.9889, 2.5064)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6B11 #1D116B
analogous
#6B4A11 #5F6B11 #326B11
triadic
#5F6B11 #115F6B #6B115F
tetradic
#5F6B11 #116B4A #1D116B #6B1132
square
#5F6B11 #116B4A #1D116B #6B1132
split-complementary
#5F6B11 #11326B #4A116B
monochromatic
#171A04 #303609 #5F6B11 #8EA019 #BDD522

Accessibility & contrast

On white

5.84
#5F6B11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5F6B11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6B11
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6B11#FFFFFF#000000##FFFFFF
##5F6B111.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#72651A
Tritanopia (blue-blind)
#65645B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f6b11;
/* rgb */ color: rgb(95, 107, 17);
/* oklch */ color: oklch(50.1% 0.109 117.4);
Tailwind
colors: {
  custom: {
    50: '#8f9559',
    500: '#5f6b11',
    950: '#000000',
  },
}
SCSS
$custom: #5f6b11;
$custom-light: #8f9559;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6b11",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 17
  },
  "hsl": {
    "h": 68,
    "s": 72.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.10893,
    "h": 117.4
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#5F6B11
secondary
#4435A3
accent
#39EF51
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6B11

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

Preview Lab → · Contrast checker → · Palette generator →

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