#5A620E#5A620E

#5A620E is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.3% C 0.102 H 115.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5A620E
RGBrgb(90, 98, 14)
HSLhsl(66, 75%, 22%)
HSVhsv(66, 86%, 38%)
CMYKcmyk(8.2%, 0%, 85.7%, 61.6%)
CIE-LABlab(39.48, -14.12, 42.27)
CIE-LCHlch(39.48, 44.57, 108.47°)
OKLaboklab(47.35% -0.0434 0.0918)
OKLCHoklch(47.35% 0.102 115.3)
XYZxyz(8.6637, 10.9409, 2.0708)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A620E #160E62
analogous
#62400E #5A620E #30620E
triadic
#5A620E #0E5A62 #620E5A
tetradic
#5A620E #0E6240 #160E62 #620E30
square
#5A620E #0E6240 #160E62 #620E30
split-complementary
#5A620E #0E3062 #400E62
monochromatic
#191B04 #292C06 #5A620E #8B9816 #BCCD1D

Accessibility & contrast

On white

6.59
#5A620E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5A620E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A620E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A620E#FFFFFF#000000##FFFFFF
##5A620E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#695E16
Tritanopia (blue-blind)
#605C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5a620e;
/* rgb */ color: rgb(90, 98, 14);
/* oklch */ color: oklch(47.3% 0.102 115.3);
Tailwind
colors: {
  custom: {
    50: '#8c8e56',
    500: '#5a620e',
    950: '#000000',
  },
}
SCSS
$custom: #5a620e;
$custom-light: #8c8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a620e",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 14
  },
  "hsl": {
    "h": 65.714,
    "s": 75,
    "l": 21.961
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.10152,
    "h": 115.3
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#5A620E
secondary
#3B309B
accent
#36F248
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A620E

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

Preview Lab → · Contrast checker → · Palette generator →

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