#5A651B#5A651B

#5A651B is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.2% C 0.097 H 117.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A651B
RGBrgb(90, 101, 27)
HSLhsl(69, 58%, 25%)
HSVhsv(69, 73%, 40%)
CMYKcmyk(10.9%, 0%, 73.3%, 60.4%)
CIE-LABlab(40.51, -15.10, 38.46)
CIE-LCHlch(40.51, 41.32, 111.43°)
OKLaboklab(48.2% -0.0449 0.0862)
OKLCHoklch(48.2% 0.097 117.5)
XYZxyz(9.0682, 11.5602, 2.7903)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A651B #261B65
analogous
#654B1B #5A651B #35651B
triadic
#5A651B #1B5A65 #651B5A
tetradic
#5A651B #1B654B #261B65 #651B35
square
#5A651B #1B654B #261B65 #651B35
split-complementary
#5A651B #1B3565 #4B1B65
monochromatic
#161806 #2F350E #5A651B #859528 #B0C635

Accessibility & contrast

On white

6.34
#5A651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5A651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A651B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A651B#FFFFFF#000000##FFFFFF
##5A651B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a651b;
/* rgb */ color: rgb(90, 101, 27);
/* oklch */ color: oklch(48.2% 0.097 117.5);
Tailwind
colors: {
  custom: {
    50: '#8b905d',
    500: '#5a651b',
    950: '#000000',
  },
}
SCSS
$custom: #5a651b;
$custom-light: #8b905d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a651b",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 68.919,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.0972,
    "h": 117.5
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#5A651B
secondary
#4F419A
accent
#47E15E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5A651B

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

Preview Lab → · Contrast checker → · Palette generator →

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