#5A651E#5A651E

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

Color values

HEX#5A651E
RGBrgb(90, 101, 30)
HSLhsl(69, 54%, 26%)
HSVhsv(69, 70%, 40%)
CMYKcmyk(10.9%, 0%, 70.3%, 60.4%)
CIE-LABlab(40.53, -14.90, 37.18)
CIE-LCHlch(40.53, 40.05, 111.83°)
OKLaboklab(48.22% -0.044 0.084)
OKLCHoklch(48.22% 0.095 117.7)
XYZxyz(9.1047, 11.5748, 2.9826)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A651E #291E65
analogous
#654C1E #5A651E #36651E
triadic
#5A651E #1E5A65 #651E5A
tetradic
#5A651E #1E654C #291E65 #651E36
square
#5A651E #1E654C #291E65 #651E36
split-complementary
#5A651E #1E3665 #4C1E65
monochromatic
#151807 #303610 #5A651E #84942C #AEC33A

Accessibility & contrast

On white

6.33
#5A651E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5A651E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A651E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A651E#FFFFFF#000000##FFFFFF
##5A651E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F14
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#605F57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a651e;
/* rgb */ color: rgb(90, 101, 30);
/* oklch */ color: oklch(48.2% 0.095 117.7);
Tailwind
colors: {
  custom: {
    50: '#8b905e',
    500: '#5a651e',
    950: '#000000',
  },
}
SCSS
$custom: #5a651e;
$custom-light: #8b905e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a651e",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 30
  },
  "hsl": {
    "h": 69.296,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48223,
    "c": 0.09486,
    "h": 117.7
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#5A651E
secondary
#52459A
accent
#4ADE61
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5A651E

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

Preview Lab → · Contrast checker → · Palette generator →

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