#5A671D#5A671D

#5A671D is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.7% C 0.098 H 118.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5A671D
RGBrgb(90, 103, 29)
HSLhsl(71, 56%, 26%)
HSVhsv(71, 72%, 40%)
CMYKcmyk(12.6%, 0%, 71.8%, 59.6%)
CIE-LABlab(41.16, -16.06, 38.26)
CIE-LCHlch(41.16, 41.50, 112.77°)
OKLaboklab(48.72% -0.0474 0.0861)
OKLCHoklch(48.72% 0.098 118.8)
XYZxyz(9.2886, 11.9629, 2.9819)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A671D #2A1D67
analogous
#674F1D #5A671D #35671D
triadic
#5A671D #1D5A67 #671D5A
tetradic
#5A671D #1D674F #2A1D67 #671D35
square
#5A671D #1D674F #2A1D67 #671D35
split-complementary
#5A671D #1D3567 #4F1D67
monochromatic
#151807 #303710 #5A671D #84972A #ADC738

Accessibility & contrast

On white

6.19
#5A671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5A671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A671D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A671D#FFFFFF#000000##FFFFFF
##5A671D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6112
Deuteranopia (green-blind)
#6D6123
Tritanopia (blue-blind)
#606158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a671d;
/* rgb */ color: rgb(90, 103, 29);
/* oklch */ color: oklch(48.7% 0.098 118.8);
Tailwind
colors: {
  custom: {
    50: '#8b925e',
    500: '#5a671d',
    950: '#000000',
  },
}
SCSS
$custom: #5a671d;
$custom-light: #8b925e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a671d",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 70.541,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.0983,
    "h": 118.8
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#5A671D
secondary
#53449C
accent
#48DF63
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A671D

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

Preview Lab → · Contrast checker → · Palette generator →

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