#5A661E#5A661E

#5A661E is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.5% C 0.096 H 118.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5A661E
RGBrgb(90, 102, 30)
HSLhsl(70, 55%, 26%)
HSVhsv(70, 71%, 40%)
CMYKcmyk(11.8%, 0%, 70.6%, 60%)
CIE-LABlab(40.85, -15.45, 37.51)
CIE-LCHlch(40.85, 40.56, 112.38°)
OKLaboklab(48.48% -0.0456 0.0847)
OKLCHoklch(48.48% 0.096 118.3)
XYZxyz(9.2023, 11.7702, 3.0151)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A661E #2A1E66
analogous
#664E1E #5A661E #36661E
triadic
#5A661E #1E5A66 #661E5A
tetradic
#5A661E #1E664E #2A1E66 #661E36
square
#5A661E #1E664E #2A1E66 #661E36
split-complementary
#5A661E #1E3666 #4E1E66
monochromatic
#151807 #303710 #5A661E #84952C #ADC53A

Accessibility & contrast

On white

6.26
#5A661E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5A661E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A661E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A661E#FFFFFF#000000##FFFFFF
##5A661E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6014
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#606057
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a661e;
/* rgb */ color: rgb(90, 102, 30);
/* oklch */ color: oklch(48.5% 0.096 118.3);
Tailwind
colors: {
  custom: {
    50: '#8b915e',
    500: '#5a661e',
    950: '#000000',
  },
}
SCSS
$custom: #5a661e;
$custom-light: #8b915e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a661e",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 70,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.09619,
    "h": 118.3
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#5A661E
secondary
#53459B
accent
#4ADE63
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5A661E

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

Preview Lab → · Contrast checker → · Palette generator →

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