#5A671C#5A671C

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

Color values

HEX#5A671C
RGBrgb(90, 103, 28)
HSLhsl(70, 57%, 26%)
HSVhsv(70, 73%, 40%)
CMYKcmyk(12.6%, 0%, 72.8%, 59.6%)
CIE-LABlab(41.15, -16.13, 38.68)
CIE-LCHlch(41.15, 41.91, 112.63°)
OKLaboklab(48.71% -0.0477 0.0868)
OKLCHoklch(48.71% 0.099 118.8)
XYZxyz(9.2765, 11.9581, 2.9178)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A671C #291C67
analogous
#674E1C #5A671C #34671C
triadic
#5A671C #1C5A67 #671C5A
tetradic
#5A671C #1C674E #291C67 #671C34
square
#5A671C #1C674E #291C67 #671C34
split-complementary
#5A671C #1C3467 #4E1C67
monochromatic
#151807 #30370F #5A671C #849729 #AEC736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A671C#FFFFFF#000000##FFFFFF
##5A671C1.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)
#6E6110
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#606158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a671c;
/* rgb */ color: rgb(90, 103, 28);
/* oklch */ color: oklch(48.7% 0.099 118.8);
Tailwind
colors: {
  custom: {
    50: '#8b925d',
    500: '#5a671c',
    950: '#000000',
  },
}
SCSS
$custom: #5a671c;
$custom-light: #8b925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a671c",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 70.4,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48714,
    "c": 0.09906,
    "h": 118.8
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#5A671C
secondary
#52439C
accent
#47E162
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A671C

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

Preview Lab → · Contrast checker → · Palette generator →

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