#8A7214#8A7214

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

Color values

HEX#8A7214
RGBrgb(138, 114, 20)
HSLhsl(48, 75%, 31%)
HSVhsv(48, 86%, 54%)
CMYKcmyk(0%, 17.4%, 85.5%, 45.9%)
CIE-LABlab(48.87, 0.01, 50.37)
CIE-LCHlch(48.87, 50.37, 89.98°)
OKLaboklab(55.93% -0.006 0.108)
OKLCHoklch(55.93% 0.108 93.2)
XYZxyz(16.6258, 17.4894, 3.1618)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7214 #142C8A
analogous
#8A3714 #8A7214 #678A14
triadic
#8A7214 #148A72 #72148A
tetradic
#8A7214 #148A37 #142C8A #8A1467
square
#8A7214 #148A37 #142C8A #8A1467
split-complementary
#8A7214 #14678A #37148A
monochromatic
#1F1A05 #55460C #8A7214 #BF9E1C #E2BF36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7214#FFFFFF#000000##FFFFFF
##8A72141.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)
#807000
Deuteranopia (green-blind)
#86771B
Tritanopia (blue-blind)
#966861
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7214;
/* rgb */ color: rgb(138, 114, 20);
/* oklch */ color: oklch(55.9% 0.108 93.2);
Tailwind
colors: {
  custom: {
    50: '#b09a5c',
    500: '#8a7214',
    950: '#000000',
  },
}
SCSS
$custom: #8a7214;
$custom-light: #b09a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7214",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 47.797,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.1082,
    "h": 93.2
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#8A7214
secondary
#3C56BE
accent
#5CF136
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E04
muted
#807E79

Preview Lab

Preview with #8A7214

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

Preview Lab → · Contrast checker → · Palette generator →

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