#5F5C19#5F5C19

#5F5C19 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.4% C 0.086 H 106.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5F5C19
RGBrgb(95, 92, 25)
HSLhsl(57, 58%, 24%)
HSVhsv(57, 74%, 37%)
CMYKcmyk(0%, 3.2%, 73.7%, 62.7%)
CIE-LABlab(38.12, -7.76, 37.08)
CIE-LCHlch(38.12, 37.88, 101.83°)
OKLaboklab(46.39% -0.025 0.0827)
OKLCHoklch(46.39% 0.086 106.8)
XYZxyz(8.7223, 10.1577, 2.4207)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5C19 #191C5F
analogous
#5F3919 #5F5C19 #3F5F19
triadic
#5F5C19 #195F5C #5C195F
tetradic
#5F5C19 #195F39 #191C5F #5F193F
square
#5F5C19 #195F39 #191C5F #5F193F
split-complementary
#5F5C19 #193F5F #39195F
monochromatic
#181706 #2F2D0C #5F5C19 #8F8B26 #C0BA32

Accessibility & contrast

On white

6.93
#5F5C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5F5C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5C19
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5C19#FFFFFF#000000##FFFFFF
##5F5C191.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580F
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#66564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5c19;
/* rgb */ color: rgb(95, 92, 25);
/* oklch */ color: oklch(46.4% 0.086 106.8);
Tailwind
colors: {
  custom: {
    50: '#8f895a',
    500: '#5f5c19',
    950: '#000000',
  },
}
SCSS
$custom: #5f5c19;
$custom-light: #8f895a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5c19",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 57.429,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.08643,
    "h": 106.8
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#5F5C19
secondary
#3F4295
accent
#4DE246
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5C19

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

Preview Lab → · Contrast checker → · Palette generator →

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