#5A671A#5A671A

#5A671A is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.7% C 0.101 H 118.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5A671A
RGBrgb(90, 103, 26)
HSLhsl(70, 60%, 25%)
HSVhsv(70, 75%, 40%)
CMYKcmyk(12.6%, 0%, 74.8%, 59.6%)
CIE-LABlab(41.13, -16.25, 39.50)
CIE-LCHlch(41.13, 42.72, 112.37°)
OKLaboklab(48.7% -0.0482 0.0882)
OKLCHoklch(48.7% 0.101 118.7)
XYZxyz(9.2533, 11.9488, 2.7960)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A671A #271A67
analogous
#674D1A #5A671A #33671A
triadic
#5A671A #1A5A67 #671A5A
tetradic
#5A671A #1A674D #271A67 #671A33
square
#5A671A #1A674D #271A67 #671A33
split-complementary
#5A671A #1A3367 #4D1A67
monochromatic
#151806 #2F360E #5A671A #859826 #AFC933

Accessibility & contrast

On white

6.20
#5A671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A671A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A671A#FFFFFF#000000##FFFFFF
##5A671A1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a671a;
/* rgb */ color: rgb(90, 103, 26);
/* oklch */ color: oklch(48.7% 0.101 118.7);
Tailwind
colors: {
  custom: {
    50: '#8b925c',
    500: '#5a671a',
    950: '#000000',
  },
}
SCSS
$custom: #5a671a;
$custom-light: #8b925c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a671a",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 70.13,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48698,
    "c": 0.10053,
    "h": 118.7
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#5A671A
secondary
#50409D
accent
#45E360
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A671A

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

Preview Lab → · Contrast checker → · Palette generator →

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