#5F6413#5F6413

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

Color values

HEX#5F6413
RGBrgb(95, 100, 19)
HSLhsl(64, 68%, 23%)
HSVhsv(64, 81%, 39%)
CMYKcmyk(5%, 0%, 81%, 60.8%)
CIE-LABlab(40.56, -12.63, 41.77)
CIE-LCHlch(40.56, 43.64, 106.83°)
OKLaboklab(48.33% -0.0392 0.0915)
OKLCHoklch(48.33% 0.1 113.2)
XYZxyz(9.3943, 11.5945, 2.3591)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6413 #181364
analogous
#644013 #5F6413 #366413
triadic
#5F6413 #135F64 #64135F
tetradic
#5F6413 #136440 #181364 #641336
square
#5F6413 #136440 #181364 #641336
split-complementary
#5F6413 #133664 #401364
monochromatic
#181A05 #2E3109 #5F6413 #90971D #C1CB27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6413#FFFFFF#000000##FFFFFF
##5F64131.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)
#6C5F01
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#665D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6413;
/* rgb */ color: rgb(95, 100, 19);
/* oklch */ color: oklch(48.3% 0.100 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f9059',
    500: '#5f6413',
    950: '#000000',
  },
}
SCSS
$custom: #5f6413;
$custom-light: #8f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6413",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 63.704,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.09952,
    "h": 113.2
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#5F6413
secondary
#3D379C
accent
#3DEB48
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6413

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

Preview Lab → · Contrast checker → · Palette generator →

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