#5A650E#5A650E

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

Color values

HEX#5A650E
RGBrgb(90, 101, 14)
HSLhsl(68, 76%, 23%)
HSVhsv(68, 86%, 40%)
CMYKcmyk(10.9%, 0%, 86.1%, 60.4%)
CIE-LABlab(40.43, -15.77, 43.10)
CIE-LCHlch(40.43, 45.90, 110.09°)
OKLaboklab(48.11% -0.048 0.0935)
OKLCHoklch(48.11% 0.105 117.1)
XYZxyz(8.9496, 11.5128, 2.1661)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A650E #190E65
analogous
#65440E #5A650E #2F650E
triadic
#5A650E #0E5A65 #650E5A
tetradic
#5A650E #0E6544 #190E65 #650E2F
square
#5A650E #0E6544 #190E65 #650E2F
split-complementary
#5A650E #0E2F65 #440E65
monochromatic
#181B04 #2A2F07 #5A650E #8A9B15 #BAD01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A650E#FFFFFF#000000##FFFFFF
##5A650E1.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)
#6C6017
Tritanopia (blue-blind)
#605F55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a650e;
/* rgb */ color: rgb(90, 101, 14);
/* oklch */ color: oklch(48.1% 0.105 117.1);
Tailwind
colors: {
  custom: {
    50: '#8c9056',
    500: '#5a650e',
    950: '#000000',
  },
}
SCSS
$custom: #5a650e;
$custom-light: #8c9056;
$custom-dark: #000000;
JSON
{
  "hex": "#5a650e",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 14
  },
  "hsl": {
    "h": 67.586,
    "s": 75.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.10513,
    "h": 117.1
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#5A650E
secondary
#3E319E
accent
#36F24D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A650E

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

Preview Lab → · Contrast checker → · Palette generator →

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