#5A671B#5A671B

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

Color values

HEX#5A671B
RGBrgb(90, 103, 27)
HSLhsl(70, 58%, 25%)
HSVhsv(70, 74%, 40%)
CMYKcmyk(12.6%, 0%, 73.8%, 59.6%)
CIE-LABlab(41.14, -16.19, 39.10)
CIE-LCHlch(41.14, 42.32, 112.50°)
OKLaboklab(48.71% -0.048 0.0875)
OKLCHoklch(48.71% 0.1 118.7)
XYZxyz(9.2647, 11.9534, 2.8559)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A671B #281B67
analogous
#674E1B #5A671B #34671B
triadic
#5A671B #1B5A67 #671B5A
tetradic
#5A671B #1B674E #281B67 #671B34
square
#5A671B #1B674E #281B67 #671B34
split-complementary
#5A671B #1B3467 #4E1B67
monochromatic
#151806 #30370E #5A671B #849728 #AFC834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A671B#FFFFFF#000000##FFFFFF
##5A671B1.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)
#6E610F
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#606158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a671b;
/* rgb */ color: rgb(90, 103, 27);
/* oklch */ color: oklch(48.7% 0.100 118.7);
Tailwind
colors: {
  custom: {
    50: '#8b925d',
    500: '#5a671b',
    950: '#000000',
  },
}
SCSS
$custom: #5a671b;
$custom-light: #8b925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a671b",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 70.263,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.09981,
    "h": 118.7
  },
  "luminance": 0.11953
}

Semantic roles & 50–950 ramp

primary
#5A671B
secondary
#51429C
accent
#46E261
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A671B

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

Preview Lab → · Contrast checker → · Palette generator →

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