#5A6510#5A6510

#5A6510 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.1% C 0.104 H 117.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A6510
RGBrgb(90, 101, 16)
HSLhsl(68, 73%, 23%)
HSVhsv(68, 84%, 40%)
CMYKcmyk(10.9%, 0%, 84.2%, 60.4%)
CIE-LABlab(40.44, -15.69, 42.50)
CIE-LCHlch(40.44, 45.30, 110.26°)
OKLaboklab(48.12% -0.0476 0.0926)
OKLCHoklch(48.12% 0.104 117.2)
XYZxyz(8.9639, 11.5185, 2.2412)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6510 #1B1065
analogous
#654510 #5A6510 #2F6510
triadic
#5A6510 #105A65 #65105A
tetradic
#5A6510 #106545 #1B1065 #65102F
square
#5A6510 #106545 #1B1065 #65102F
split-complementary
#5A6510 #102F65 #451065
monochromatic
#181A04 #2B3008 #5A6510 #899A18 #B8CF21

Accessibility & contrast

On white

6.36
#5A6510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5A6510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6510
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6510#FFFFFF#000000##FFFFFF
##5A65101.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6B6018
Tritanopia (blue-blind)
#605F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a6510;
/* rgb */ color: rgb(90, 101, 16);
/* oklch */ color: oklch(48.1% 0.104 117.2);
Tailwind
colors: {
  custom: {
    50: '#8c9057',
    500: '#5a6510',
    950: '#000000',
  },
}
SCSS
$custom: #5a6510;
$custom-light: #8c9057;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6510",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 67.765,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.10415,
    "h": 117.2
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#5A6510
secondary
#41339D
accent
#38EF50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A6510

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

Preview Lab → · Contrast checker → · Palette generator →

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