#5A6711#5A6711

#5A6711 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.6% C 0.106 H 118.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A6711
RGBrgb(90, 103, 17)
HSLhsl(69, 72%, 24%)
HSVhsv(69, 83%, 40%)
CMYKcmyk(12.6%, 0%, 83.5%, 59.6%)
CIE-LABlab(41.08, -16.73, 42.75)
CIE-LCHlch(41.08, 45.91, 111.37°)
OKLaboklab(48.64% -0.0504 0.0934)
OKLCHoklch(48.64% 0.106 118.4)
XYZxyz(9.1681, 11.9147, 2.3470)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6711 #1E1167
analogous
#674911 #5A6711 #2F6711
triadic
#5A6711 #115A67 #67115A
tetradic
#5A6711 #116749 #1E1167 #67112F
square
#5A6711 #116749 #1E1167 #67112F
split-complementary
#5A6711 #112F67 #491167
monochromatic
#171A04 #2C3208 #5A6711 #889C1A #B6D022

Accessibility & contrast

On white

6.21
#5A6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5A6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6711
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6711#FFFFFF#000000##FFFFFF
##5A67111.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6D611A
Tritanopia (blue-blind)
#606157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6711;
/* rgb */ color: rgb(90, 103, 17);
/* oklch */ color: oklch(48.6% 0.106 118.4);
Tailwind
colors: {
  custom: {
    50: '#8c9258',
    500: '#5a6711',
    950: '#000000',
  },
}
SCSS
$custom: #5a6711;
$custom-light: #8c9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6711",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 69.07,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.10609,
    "h": 118.4
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#5A6711
secondary
#45359F
accent
#39EE55
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A6711

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

Preview Lab → · Contrast checker → · Palette generator →

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