#5F5A14#5F5A14

#5F5A14 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.9% C 0.088 H 105.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5F5A14
RGBrgb(95, 90, 20)
HSLhsl(56, 65%, 23%)
HSVhsv(56, 79%, 37%)
CMYKcmyk(0%, 5.3%, 78.9%, 62.7%)
CIE-LABlab(37.47, -6.88, 38.52)
CIE-LCHlch(37.47, 39.13, 100.12°)
OKLaboklab(45.86% -0.023 0.0848)
OKLCHoklch(45.86% 0.088 105.2)
XYZxyz(8.5021, 9.7961, 2.1047)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5A14 #14195F
analogous
#5F3414 #5F5A14 #3E5F14
triadic
#5F5A14 #145F5A #5A145F
tetradic
#5F5A14 #145F34 #14195F #5F143E
square
#5F5A14 #145F34 #14195F #5F143E
split-complementary
#5F5A14 #143E5F #34145F
monochromatic
#191805 #2C2A09 #5F5A14 #928A1F #C4BA29

Accessibility & contrast

On white

7.10
#5F5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5F5A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5A14
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5A14#FFFFFF#000000##FFFFFF
##5F5A141.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#645A19
Tritanopia (blue-blind)
#67534D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5f5a14;
/* rgb */ color: rgb(95, 90, 20);
/* oklch */ color: oklch(45.9% 0.088 105.2);
Tailwind
colors: {
  custom: {
    50: '#8f8858',
    500: '#5f5a14',
    950: '#000000',
  },
}
SCSS
$custom: #5f5a14;
$custom-light: #8f8858;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5a14",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 56,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.08785,
    "h": 105.2
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#5F5A14
secondary
#383E97
accent
#4BE840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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