#5A652D#5A652D

#5A652D is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.4% C 0.081 H 118.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5A652D
RGBrgb(90, 101, 45)
HSLhsl(72, 38%, 29%)
HSVhsv(72, 55%, 40%)
CMYKcmyk(10.9%, 0%, 55.4%, 60.4%)
CIE-LABlab(40.69, -13.58, 29.93)
CIE-LCHlch(40.69, 32.87, 114.40°)
OKLaboklab(48.4% -0.0387 0.0706)
OKLCHoklch(48.4% 0.081 118.7)
XYZxyz(9.3439, 11.6705, 4.2425)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A652D #382D65
analogous
#65542D #5A652D #3E652D
triadic
#5A652D #2D5A65 #652D5A
tetradic
#5A652D #2D6554 #382D65 #652D3E
square
#5A652D #2D6554 #382D65 #652D3E
split-complementary
#5A652D #2D3E65 #542D65
monochromatic
#131509 #343B1A #5A652D #808F40 #A2B558

Accessibility & contrast

On white

6.30
#5A652D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5A652D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A652D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A652D#FFFFFF#000000##FFFFFF
##5A652D1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6028
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#5F6058
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a652d;
/* rgb */ color: rgb(90, 101, 45);
/* oklch */ color: oklch(48.4% 0.081 118.7);
Tailwind
colors: {
  custom: {
    50: '#8a9068',
    500: '#5a652d',
    950: '#000000',
  },
}
SCSS
$custom: #5a652d;
$custom-light: #8a9068;
$custom-dark: #000000;
JSON
{
  "hex": "#5a652d",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 45
  },
  "hsl": {
    "h": 71.786,
    "s": 38.356,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.08051,
    "h": 118.7
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#5A652D
secondary
#645797
accent
#5ACE70
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C06
muted
#7D7D7A

Preview Lab

Preview with #5A652D

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

Preview Lab → · Contrast checker → · Palette generator →

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