#5A6113#5A6113

#5A6113 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.1% C 0.098 H 114.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5A6113
RGBrgb(90, 97, 19)
HSLhsl(65, 67%, 23%)
HSVhsv(65, 80%, 38%)
CMYKcmyk(7.2%, 0%, 80.4%, 62%)
CIE-LABlab(39.19, -13.34, 40.34)
CIE-LCHlch(39.19, 42.49, 108.30°)
OKLaboklab(47.12% -0.0409 0.0886)
OKLCHoklch(47.12% 0.098 114.8)
XYZxyz(8.6089, 10.7702, 2.2413)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6113 #1A1361
analogous
#614113 #5A6113 #336113
triadic
#5A6113 #135A61 #61135A
tetradic
#5A6113 #136141 #1A1361 #611333
square
#5A6113 #136141 #1A1361 #611333
split-complementary
#5A6113 #133361 #411361
monochromatic
#181A05 #2B2E09 #5A6113 #89941D #B9C727

Accessibility & contrast

On white

6.66
#5A6113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5A6113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6113
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6113#FFFFFF#000000##FFFFFF
##5A61131.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#605B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a6113;
/* rgb */ color: rgb(90, 97, 19);
/* oklch */ color: oklch(47.1% 0.098 114.8);
Tailwind
colors: {
  custom: {
    50: '#8b8d58',
    500: '#5a6113',
    950: '#000000',
  },
}
SCSS
$custom: #5a6113;
$custom-light: #8b8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6113",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 19
  },
  "hsl": {
    "h": 65.385,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47121,
    "c": 0.09761,
    "h": 114.8
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#5A6113
secondary
#403799
accent
#3EEA4D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A6113

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

Preview Lab → · Contrast checker → · Palette generator →

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