#8A7022#8A7022

#8A7022 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.6% C 0.099 H 89.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A7022
RGBrgb(138, 112, 34)
HSLhsl(45, 60%, 34%)
HSVhsv(45, 75%, 54%)
CMYKcmyk(0%, 18.8%, 75.4%, 45.9%)
CIE-LABlab(48.40, 1.72, 44.86)
CIE-LCHlch(48.40, 44.89, 87.80°)
OKLaboklab(55.58% 0.0004 0.0993)
OKLCHoklch(55.58% 0.099 89.8)
XYZxyz(16.5651, 17.1081, 3.9428)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7022 #223C8A
analogous
#8A3C22 #8A7022 #708A22
triadic
#8A7022 #228A70 #70228A
tetradic
#8A7022 #228A3C #223C8A #8A2270
square
#8A7022 #228A3C #223C8A #8A2270
split-complementary
#8A7022 #22708A #3C228A
monochromatic
#28200A #594816 #8A7022 #BB982E #D4B452

Accessibility & contrast

On white

4.75
#8A7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8A7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7022
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7022#FFFFFF#000000##FFFFFF
##8A70221.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F16
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#966660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a7022;
/* rgb */ color: rgb(138, 112, 34);
/* oklch */ color: oklch(55.6% 0.099 89.8);
Tailwind
colors: {
  custom: {
    50: '#b09863',
    500: '#8a7022',
    950: '#000000',
  },
}
SCSS
$custom: #8a7022;
$custom-light: #b09863;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7022",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.09928,
    "h": 89.8
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#8A7022
secondary
#506AB8
accent
#6CE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #8A7022

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

Preview Lab → · Contrast checker → · Palette generator →

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