#5A6413#5A6413

#5A6413 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 47.9% C 0.101 H 116.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5A6413
RGBrgb(90, 100, 19)
HSLhsl(67, 68%, 23%)
HSVhsv(67, 81%, 39%)
CMYKcmyk(10%, 0%, 81%, 60.8%)
CIE-LABlab(40.14, -15.00, 41.22)
CIE-LCHlch(40.14, 43.87, 110.00°)
OKLaboklab(47.88% -0.0455 0.0905)
OKLCHoklch(47.88% 0.101 116.7)
XYZxyz(8.8914, 11.3351, 2.3355)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6413 #1D1364
analogous
#644513 #5A6413 #316413
triadic
#5A6413 #135A64 #64135A
tetradic
#5A6413 #136445 #1D1364 #641331
square
#5A6413 #136445 #1D1364 #641331
split-complementary
#5A6413 #133164 #451364
monochromatic
#171A05 #2C3109 #5A6413 #88971D #B7CB27

Accessibility & contrast

On white

6.43
#5A6413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5A6413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6413
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6413#FFFFFF#000000##FFFFFF
##5A64131.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E01
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#605E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a6413;
/* rgb */ color: rgb(90, 100, 19);
/* oklch */ color: oklch(47.9% 0.101 116.7);
Tailwind
colors: {
  custom: {
    50: '#8b9058',
    500: '#5a6413',
    950: '#000000',
  },
}
SCSS
$custom: #5a6413;
$custom-light: #8b9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6413",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 67.407,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.10129,
    "h": 116.7
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#5A6413
secondary
#44379C
accent
#3DEB52
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A6413

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

Preview Lab → · Contrast checker → · Palette generator →

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