#5A5A14#5A5A14

#5A5A14 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.089 H 109.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5A5A14
RGBrgb(90, 90, 20)
HSLhsl(60, 64%, 22%)
HSVhsv(60, 78%, 35%)
CMYKcmyk(0%, 0%, 77.8%, 64.7%)
CIE-LABlab(37.00, -9.32, 37.90)
CIE-LCHlch(37.00, 39.03, 103.82°)
OKLaboklab(45.37% -0.0296 0.0837)
OKLCHoklch(45.37% 0.089 109.5)
XYZxyz(7.9992, 9.5367, 2.0811)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5A14 #14145A
analogous
#5A3714 #5A5A14 #375A14
triadic
#5A5A14 #145A5A #5A145A
tetradic
#5A5A14 #145A37 #14145A #5A1437
square
#5A5A14 #145A37 #14145A #5A1437
split-complementary
#5A5A14 #14375A #37145A
monochromatic
#191906 #282809 #5A5A14 #8C8C1F #BEBE2A

Accessibility & contrast

On white

7.22
#5A5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5A5A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5A14
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5A14#FFFFFF#000000##FFFFFF
##5A5A141.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#61544D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a5a14;
/* rgb */ color: rgb(90, 90, 20);
/* oklch */ color: oklch(45.4% 0.089 109.5);
Tailwind
colors: {
  custom: {
    50: '#8b8857',
    500: '#5a5a14',
    950: '#000000',
  },
}
SCSS
$custom: #5a5a14;
$custom-light: #8b8857;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5a14",
  "rgb": {
    "r": 90,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.08874,
    "h": 109.5
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#5A5A14
secondary
#383892
accent
#41E741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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