#5A5E14#5A5E14

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

Color values

HEX#5A5E14
RGBrgb(90, 94, 20)
HSLhsl(63, 65%, 22%)
HSVhsv(63, 79%, 37%)
CMYKcmyk(4.3%, 0%, 78.7%, 63.1%)
CIE-LABlab(38.25, -11.61, 39.09)
CIE-LCHlch(38.25, 40.78, 106.54°)
OKLaboklab(46.37% -0.036 0.0862)
OKLCHoklch(46.37% 0.093 112.6)
XYZxyz(8.3457, 10.2298, 2.1966)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5E14 #18145E
analogous
#5E3D14 #5A5E14 #355E14
triadic
#5A5E14 #145A5E #5E145A
tetradic
#5A5E14 #145E3D #18145E #5E1435
square
#5A5E14 #145E3D #18145E #5E1435
split-complementary
#5A5E14 #14355E #3D145E
monochromatic
#181905 #2A2C09 #5A5E14 #8A901F #BBC329

Accessibility & contrast

On white

6.89
#5A5E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A5E14
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5E14#FFFFFF#000000##FFFFFF
##5A5E141.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a5e14;
/* rgb */ color: rgb(90, 94, 20);
/* oklch */ color: oklch(46.4% 0.093 112.6);
Tailwind
colors: {
  custom: {
    50: '#8b8b58',
    500: '#5a5e14',
    950: '#000000',
  },
}
SCSS
$custom: #5a5e14;
$custom-light: #8b8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5e14",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 63.243,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.09339,
    "h": 112.6
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#5A5E14
secondary
#3D3896
accent
#40E849
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A5E14

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

Preview Lab → · Contrast checker → · Palette generator →

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