#5A6713#5A6713

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

Color values

HEX#5A6713
RGBrgb(90, 103, 19)
HSLhsl(69, 69%, 24%)
HSVhsv(69, 82%, 40%)
CMYKcmyk(12.6%, 0%, 81.6%, 59.6%)
CIE-LABlab(41.09, -16.64, 42.10)
CIE-LCHlch(41.09, 45.27, 111.56°)
OKLaboklab(48.65% -0.05 0.0924)
OKLCHoklch(48.65% 0.105 118.4)
XYZxyz(9.1845, 11.9213, 2.4332)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6713 #201367
analogous
#674A13 #5A6713 #306713
triadic
#5A6713 #135A67 #67135A
tetradic
#5A6713 #13674A #201367 #671330
square
#5A6713 #13674A #201367 #671330
split-complementary
#5A6713 #133067 #4A1367
monochromatic
#171A05 #2D3309 #5A6713 #879B1D #B4CE26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5a6713;
/* rgb */ color: rgb(90, 103, 19);
/* oklch */ color: oklch(48.6% 0.105 118.4);
Tailwind
colors: {
  custom: {
    50: '#8b9259',
    500: '#5a6713',
    950: '#000000',
  },
}
SCSS
$custom: #5a6713;
$custom-light: #8b9259;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6713",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 69.286,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.10501,
    "h": 118.4
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#5A6713
secondary
#47379E
accent
#3CEC57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A6713

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

Preview Lab → · Contrast checker → · Palette generator →

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