#5A600F#5A600F

#5A600F is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.8% C 0.099 H 114.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5A600F
RGBrgb(90, 96, 15)
HSLhsl(64, 73%, 22%)
HSVhsv(64, 84%, 38%)
CMYKcmyk(6.2%, 0%, 84.4%, 62.4%)
CIE-LABlab(38.85, -12.97, 41.41)
CIE-LCHlch(38.85, 43.39, 107.39°)
OKLaboklab(46.84% -0.0402 0.0901)
OKLCHoklch(46.84% 0.099 114)
XYZxyz(8.4858, 10.5741, 2.0458)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A600F #150F60
analogous
#603E0F #5A600F #32600F
triadic
#5A600F #0F5A60 #600F5A
tetradic
#5A600F #0F603E #150F60 #600F32
square
#5A600F #0F603E #150F60 #600F32
split-complementary
#5A600F #0F3260 #3E0F60
monochromatic
#191A04 #282B07 #5A600F #8C9517 #BDCA20

Accessibility & contrast

On white

6.74
#5A600F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5A600F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A600F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A600F#FFFFFF#000000##FFFFFF
##5A600F1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#685C17
Tritanopia (blue-blind)
#615A51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a600f;
/* rgb */ color: rgb(90, 96, 15);
/* oklch */ color: oklch(46.8% 0.099 114.0);
Tailwind
colors: {
  custom: {
    50: '#8c8d56',
    500: '#5a600f',
    950: '#000000',
  },
}
SCSS
$custom: #5a600f;
$custom-light: #8c8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a600f",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 64.444,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.09866,
    "h": 114
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#5A600F
secondary
#393299
accent
#38F046
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A600F

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

Preview Lab → · Contrast checker → · Palette generator →

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