#5A6114#5A6114

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

Color values

HEX#5A6114
RGBrgb(90, 97, 20)
HSLhsl(65, 66%, 23%)
HSVhsv(65, 79%, 38%)
CMYKcmyk(7.2%, 0%, 79.4%, 62%)
CIE-LABlab(39.20, -13.29, 39.98)
CIE-LCHlch(39.20, 42.13, 108.39°)
OKLaboklab(47.13% -0.0406 0.0881)
OKLCHoklch(47.13% 0.097 114.8)
XYZxyz(8.6177, 10.7737, 2.2873)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6114 #1B1461
analogous
#614214 #5A6114 #336114
triadic
#5A6114 #145A61 #61145A
tetradic
#5A6114 #146142 #1B1461 #611433
square
#5A6114 #146142 #1B1461 #611433
split-complementary
#5A6114 #143361 #421461
monochromatic
#181905 #2B2E0A #5A6114 #89941E #B8C629

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6114#FFFFFF#000000##FFFFFF
##5A61141.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)
#695C04
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#605B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a6114;
/* rgb */ color: rgb(90, 97, 20);
/* oklch */ color: oklch(47.1% 0.097 114.8);
Tailwind
colors: {
  custom: {
    50: '#8b8d58',
    500: '#5a6114',
    950: '#000000',
  },
}
SCSS
$custom: #5a6114;
$custom-light: #8b8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6114",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 20
  },
  "hsl": {
    "h": 65.455,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.097,
    "h": 114.8
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#5A6114
secondary
#413898
accent
#3FE94E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A6114

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

Preview Lab → · Contrast checker → · Palette generator →

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