#5A6013#5A6013

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

Color values

HEX#5A6013
RGBrgb(90, 96, 19)
HSLhsl(65, 67%, 23%)
HSVhsv(65, 80%, 38%)
CMYKcmyk(6.2%, 0%, 80.2%, 62.4%)
CIE-LABlab(38.88, -12.79, 40.05)
CIE-LCHlch(38.88, 42.04, 107.71°)
OKLaboklab(46.87% -0.0393 0.088)
OKLCHoklch(46.87% 0.096 114.1)
XYZxyz(8.5171, 10.5866, 2.2107)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6013 #191360
analogous
#603F13 #5A6013 #346013
triadic
#5A6013 #135A60 #60135A
tetradic
#5A6013 #13603F #191360 #601334
square
#5A6013 #13603F #191360 #601334
split-complementary
#5A6013 #133460 #3F1360
monochromatic
#181A05 #2A2D09 #5A6013 #8A931D #BAC627

Accessibility & contrast

On white

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

On black

3.12
#5A6013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A6013#FFFFFF#000000##FFFFFF
##5A60131.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B03
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#605A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a6013;
/* rgb */ color: rgb(90, 96, 19);
/* oklch */ color: oklch(46.9% 0.096 114.1);
Tailwind
colors: {
  custom: {
    50: '#8b8d58',
    500: '#5a6013',
    950: '#000000',
  },
}
SCSS
$custom: #5a6013;
$custom-light: #8b8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6013",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 64.675,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.0964,
    "h": 114.1
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#5A6013
secondary
#3E3798
accent
#3EEA4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A6013

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

Preview Lab → · Contrast checker → · Palette generator →

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