#5A5E0E#5A5E0E

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

Color values

HEX#5A5E0E
RGBrgb(90, 94, 14)
HSLhsl(63, 74%, 21%)
HSVhsv(63, 85%, 37%)
CMYKcmyk(4.3%, 0%, 85.1%, 63.1%)
CIE-LABlab(38.22, -11.88, 41.16)
CIE-LCHlch(38.22, 42.84, 106.10°)
OKLaboklab(46.33% -0.0373 0.0894)
OKLCHoklch(46.33% 0.097 112.6)
XYZxyz(8.2987, 10.2110, 1.9491)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5E0E #120E5E
analogous
#5E3A0E #5A5E0E #325E0E
triadic
#5A5E0E #0E5A5E #5E0E5A
tetradic
#5A5E0E #0E5E3A #120E5E #5E0E32
square
#5A5E0E #0E5E3A #120E5E #5E0E32
split-complementary
#5A5E0E #0E325E #3A0E5E
monochromatic
#191B04 #272906 #5A5E0E #8D9316 #C0C91E

Accessibility & contrast

On white

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

On black

3.04
#5A5E0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A5E0E#FFFFFF#000000##FFFFFF
##5A5E0E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a5e0e;
/* rgb */ color: rgb(90, 94, 14);
/* oklch */ color: oklch(46.3% 0.097 112.6);
Tailwind
colors: {
  custom: {
    50: '#8c8b55',
    500: '#5a5e0e',
    950: '#000000',
  },
}
SCSS
$custom: #5a5e0e;
$custom-light: #8c8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5e0e",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 63,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.09684,
    "h": 112.6
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#5A5E0E
secondary
#353098
accent
#37F140
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A5E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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