#5A671E#5A671E

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

Color values

HEX#5A671E
RGBrgb(90, 103, 30)
HSLhsl(71, 55%, 26%)
HSVhsv(71, 71%, 40%)
CMYKcmyk(12.6%, 0%, 70.9%, 59.6%)
CIE-LABlab(41.17, -15.99, 37.83)
CIE-LCHlch(41.17, 41.07, 112.91°)
OKLaboklab(48.73% -0.0471 0.0854)
OKLCHoklch(48.73% 0.098 118.9)
XYZxyz(9.3012, 11.9680, 3.0481)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A671E #2B1E67
analogous
#674F1E #5A671E #35671E
triadic
#5A671E #1E5A67 #671E5A
tetradic
#5A671E #1E674F #2B1E67 #671E35
square
#5A671E #1E674F #2B1E67 #671E35
split-complementary
#5A671E #1E3567 #4F1E67
monochromatic
#151807 #313810 #5A671E #83962C #ADC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A671E#FFFFFF#000000##FFFFFF
##5A671E1.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)
#6E6113
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#5F6158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a671e;
/* rgb */ color: rgb(90, 103, 30);
/* oklch */ color: oklch(48.7% 0.098 118.9);
Tailwind
colors: {
  custom: {
    50: '#8b925e',
    500: '#5a671e',
    950: '#000000',
  },
}
SCSS
$custom: #5a671e;
$custom-light: #8b925e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a671e",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 70.685,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.09751,
    "h": 118.9
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#5A671E
secondary
#55459C
accent
#4ADE64
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D05
muted
#7D7D79

Preview Lab

Preview with #5A671E

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

Preview Lab → · Contrast checker → · Palette generator →

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