#5F6A11#5F6A11

#5F6A11 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 49.8% C 0.108 H 116.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5F6A11
RGBrgb(95, 106, 17)
HSLhsl(67, 72%, 24%)
HSVhsv(67, 84%, 42%)
CMYKcmyk(10.4%, 0%, 84%, 58.4%)
CIE-LABlab(42.43, -16.02, 44.12)
CIE-LCHlch(42.43, 46.93, 109.96°)
OKLaboklab(49.83% -0.0487 0.0961)
OKLCHoklch(49.83% 0.108 116.9)
XYZxyz(9.9748, 12.7816, 2.4718)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6A11 #1C116A
analogous
#6A4911 #5F6A11 #336A11
triadic
#5F6A11 #115F6A #6A115F
tetradic
#5F6A11 #116A49 #1C116A #6A1133
square
#5F6A11 #116A49 #1C116A #6A1133
split-complementary
#5F6A11 #11336A #49116A
monochromatic
#181A04 #303509 #5F6A11 #8E9F19 #BED322

Accessibility & contrast

On white

5.91
#5F6A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5F6A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6A11
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6A11#FFFFFF#000000##FFFFFF
##5F6A111.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#66635A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f6a11;
/* rgb */ color: rgb(95, 106, 17);
/* oklch */ color: oklch(49.8% 0.108 116.9);
Tailwind
colors: {
  custom: {
    50: '#8f9459',
    500: '#5f6a11',
    950: '#000000',
  },
}
SCSS
$custom: #5f6a11;
$custom-light: #8f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6a11",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 67.416,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.10773,
    "h": 116.9
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#5F6A11
secondary
#4235A2
accent
#39EF4F
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6A11

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

Preview Lab → · Contrast checker → · Palette generator →

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