#5F6415#5F6415

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

Color values

HEX#5F6415
RGBrgb(95, 100, 21)
HSLhsl(64, 65%, 24%)
HSVhsv(64, 79%, 39%)
CMYKcmyk(5%, 0%, 79%, 60.8%)
CIE-LABlab(40.58, -12.54, 41.06)
CIE-LCHlch(40.58, 42.93, 106.98°)
OKLaboklab(48.34% -0.0387 0.0904)
OKLCHoklch(48.34% 0.098 113.2)
XYZxyz(9.4121, 11.6016, 2.4528)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6415 #1A1564
analogous
#644115 #5F6415 #376415
triadic
#5F6415 #155F64 #64155F
tetradic
#5F6415 #156441 #1A1564 #641537
square
#5F6415 #156441 #1A1564 #641537
split-complementary
#5F6415 #153764 #411564
monochromatic
#181905 #2F310A #5F6415 #8F9720 #BFC92A

Accessibility & contrast

On white

6.32
#5F6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F6415
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6415#FFFFFF#000000##FFFFFF
##5F64151.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#665E55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6415;
/* rgb */ color: rgb(95, 100, 21);
/* oklch */ color: oklch(48.3% 0.098 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f9059',
    500: '#5f6415',
    950: '#000000',
  },
}
SCSS
$custom: #5f6415;
$custom-light: #8f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6415",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 63.797,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.09831,
    "h": 113.2
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#5F6415
secondary
#403A9B
accent
#40E84A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6415

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

Preview Lab → · Contrast checker → · Palette generator →

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