#8A7219#8A7219

#8A7219 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 56.0% C 0.106 H 92.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A7219
RGBrgb(138, 114, 25)
HSLhsl(47, 69%, 32%)
HSVhsv(47, 82%, 54%)
CMYKcmyk(0%, 17.4%, 81.9%, 45.9%)
CIE-LABlab(48.90, 0.19, 48.78)
CIE-LCHlch(48.90, 48.78, 89.78°)
OKLaboklab(55.96% -0.005 0.1057)
OKLCHoklch(55.96% 0.106 92.7)
XYZxyz(16.6750, 17.5091, 3.4208)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7219 #19318A
analogous
#8A3A19 #8A7219 #698A19
triadic
#8A7219 #198A72 #72198A
tetradic
#8A7219 #198A3A #19318A #8A1969
square
#8A7219 #198A3A #19318A #8A1969
split-complementary
#8A7219 #19698A #3A198A
monochromatic
#221C06 #564710 #8A7219 #BE9D22 #DDBB41

Accessibility & contrast

On white

4.67
#8A7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8A7219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7219
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7219#FFFFFF#000000##FFFFFF
##8A72191.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#966861
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7219;
/* rgb */ color: rgb(138, 114, 25);
/* oklch */ color: oklch(56.0% 0.106 92.7);
Tailwind
colors: {
  custom: {
    50: '#b09a5e',
    500: '#8a7219',
    950: '#000000',
  },
}
SCSS
$custom: #8a7219;
$custom-light: #b09a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7219",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 47.257,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.10581,
    "h": 92.7
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#8A7219
secondary
#425CBD
accent
#61EC3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A7219

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

Preview Lab → · Contrast checker → · Palette generator →

#8A7219 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva