#5F6411#5F6411

#5F6411 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.101 H 113.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5F6411
RGBrgb(95, 100, 17)
HSLhsl(64, 71%, 23%)
HSVhsv(64, 83%, 39%)
CMYKcmyk(5%, 0%, 83%, 60.8%)
CIE-LABlab(40.55, -12.72, 42.44)
CIE-LCHlch(40.55, 44.30, 106.69°)
OKLaboklab(48.32% -0.0396 0.0925)
OKLCHoklch(48.32% 0.101 113.2)
XYZxyz(9.3780, 11.5879, 2.2729)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6411 #161164
analogous
#643F11 #5F6411 #366411
triadic
#5F6411 #115F64 #64115F
tetradic
#5F6411 #11643F #161164 #641136
square
#5F6411 #11643F #161164 #641136
split-complementary
#5F6411 #113664 #3F1164
monochromatic
#191A04 #2D3008 #5F6411 #91981A #C2CD23

Accessibility & contrast

On white

6.33
#5F6411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5F6411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6411
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6411#FFFFFF#000000##FFFFFF
##5F64111.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#665D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6411;
/* rgb */ color: rgb(95, 100, 17);
/* oklch */ color: oklch(48.3% 0.101 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f9058',
    500: '#5f6411',
    950: '#000000',
  },
}
SCSS
$custom: #5f6411;
$custom-light: #8f9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6411",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 17
  },
  "hsl": {
    "h": 63.614,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.10062,
    "h": 113.2
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#5F6411
secondary
#3B359C
accent
#3AEE45
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6411

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

Preview Lab → · Contrast checker → · Palette generator →

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