#5A6710#5A6710

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

Color values

HEX#5A6710
RGBrgb(90, 103, 16)
HSLhsl(69, 73%, 23%)
HSVhsv(69, 84%, 40%)
CMYKcmyk(12.6%, 0%, 84.5%, 59.6%)
CIE-LABlab(41.08, -16.77, 43.07)
CIE-LCHlch(41.08, 46.22, 111.28°)
OKLaboklab(48.63% -0.0506 0.0939)
OKLCHoklch(48.63% 0.107 118.3)
XYZxyz(9.1604, 11.9116, 2.3067)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6710 #1D1067
analogous
#674810 #5A6710 #2E6710
triadic
#5A6710 #105A67 #67105A
tetradic
#5A6710 #106748 #1D1067 #67102E
square
#5A6710 #106748 #1D1067 #67102E
split-complementary
#5A6710 #102E67 #481067
monochromatic
#171A04 #2C3208 #5A6710 #889C18 #B7D120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6710#FFFFFF#000000##FFFFFF
##5A67101.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)
#6D6119
Tritanopia (blue-blind)
#606157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6710;
/* rgb */ color: rgb(90, 103, 16);
/* oklch */ color: oklch(48.6% 0.107 118.3);
Tailwind
colors: {
  custom: {
    50: '#8c9258',
    500: '#5a6710',
    950: '#000000',
  },
}
SCSS
$custom: #5a6710;
$custom-light: #8c9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6710",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 68.966,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.10661,
    "h": 118.3
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#5A6710
secondary
#44339F
accent
#38F053
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A6710

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

Preview Lab → · Contrast checker → · Palette generator →

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