#5A5E13#5A5E13

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

Color values

HEX#5A5E13
RGBrgb(90, 94, 19)
HSLhsl(63, 66%, 22%)
HSVhsv(63, 80%, 37%)
CMYKcmyk(4.3%, 0%, 79.8%, 63.1%)
CIE-LABlab(38.25, -11.66, 39.46)
CIE-LCHlch(38.25, 41.15, 106.46°)
OKLaboklab(46.36% -0.0362 0.0868)
OKLCHoklch(46.36% 0.094 112.6)
XYZxyz(8.3370, 10.2263, 2.1507)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5E13 #17135E
analogous
#5E3D13 #5A5E13 #355E13
triadic
#5A5E13 #135A5E #5E135A
tetradic
#5A5E13 #135E3D #17135E #5E1335
square
#5A5E13 #135E3D #17135E #5E1335
split-complementary
#5A5E13 #13355E #3D135E
monochromatic
#181905 #292B09 #5A5E13 #8B911D #BBC428

Accessibility & contrast

On white

6.90
#5A5E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5A5E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5E13
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5E13#FFFFFF#000000##FFFFFF
##5A5E131.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665904
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#615850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5a5e13;
/* rgb */ color: rgb(90, 94, 19);
/* oklch */ color: oklch(46.4% 0.094 112.6);
Tailwind
colors: {
  custom: {
    50: '#8b8b58',
    500: '#5a5e13',
    950: '#000000',
  },
}
SCSS
$custom: #5a5e13;
$custom-light: #8b8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5e13",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 63.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46364,
    "c": 0.09403,
    "h": 112.6
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#5A5E13
secondary
#3C3796
accent
#3FE948
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A5E13

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

Preview Lab → · Contrast checker → · Palette generator →

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