#5F6511#5F6511

#5F6511 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.102 H 113.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F6511
RGBrgb(95, 101, 17)
HSLhsl(64, 71%, 23%)
HSVhsv(64, 83%, 40%)
CMYKcmyk(5.9%, 0%, 83.2%, 60.4%)
CIE-LABlab(40.87, -13.28, 42.72)
CIE-LCHlch(40.87, 44.73, 107.27°)
OKLaboklab(48.57% -0.0412 0.0931)
OKLCHoklch(48.57% 0.102 113.9)
XYZxyz(9.4745, 11.7809, 2.3051)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6511 #171165
analogous
#654111 #5F6511 #356511
triadic
#5F6511 #115F65 #65115F
tetradic
#5F6511 #116541 #171165 #651135
square
#5F6511 #116541 #171165 #651135
split-complementary
#5F6511 #113565 #411165
monochromatic
#191A04 #2E3108 #5F6511 #90991A #C2CE23

Accessibility & contrast

On white

6.26
#5F6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5F6511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6511
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6511#FFFFFF#000000##FFFFFF
##5F65111.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#665E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6511;
/* rgb */ color: rgb(95, 101, 17);
/* oklch */ color: oklch(48.6% 0.102 113.9);
Tailwind
colors: {
  custom: {
    50: '#8f9058',
    500: '#5f6511',
    950: '#000000',
  },
}
SCSS
$custom: #5f6511;
$custom-light: #8f9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6511",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 64.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.10178,
    "h": 113.9
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#5F6511
secondary
#3C359D
accent
#3AEE47
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6511

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

Preview Lab → · Contrast checker → · Palette generator →

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