#8A7422#8A7422

#8A7422 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.102 H 93.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A7422
RGBrgb(138, 116, 34)
HSLhsl(47, 60%, 34%)
HSVhsv(47, 75%, 54%)
CMYKcmyk(0%, 15.9%, 75.4%, 45.9%)
CIE-LABlab(49.51, -0.56, 45.95)
CIE-LCHlch(49.51, 45.95, 90.70°)
OKLaboklab(56.46% -0.0062 0.1016)
OKLCHoklch(56.46% 0.102 93.5)
XYZxyz(17.0163, 18.0105, 4.0932)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7422 #22388A
analogous
#8A4022 #8A7422 #6C8A22
triadic
#8A7422 #228A74 #74228A
tetradic
#8A7422 #228A40 #22388A #8A226C
square
#8A7422 #228A40 #22388A #8A226C
split-complementary
#8A7422 #226C8A #40228A
monochromatic
#28210A #594B16 #8A7422 #BB9D2E #D4B952

Accessibility & contrast

On white

4.56
#8A7422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A7422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7422
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7422#FFFFFF#000000##000000
##8A74221.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#966A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7422;
/* rgb */ color: rgb(138, 116, 34);
/* oklch */ color: oklch(56.5% 0.102 93.5);
Tailwind
colors: {
  custom: {
    50: '#b09b63',
    500: '#8a7422',
    950: '#000000',
  },
}
SCSS
$custom: #8a7422;
$custom-light: #b09b63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7422",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 47.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.10178,
    "h": 93.5
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#8A7422
secondary
#5066B8
accent
#66E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7422

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

Preview Lab → · Contrast checker → · Palette generator →

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