#8A722A#8A722A

#8A722A is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.1% C 0.095 H 90.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A722A
RGBrgb(138, 114, 42)
HSLhsl(45, 53%, 35%)
HSVhsv(45, 70%, 54%)
CMYKcmyk(0%, 17.4%, 69.6%, 45.9%)
CIE-LABlab(49.01, 1.02, 41.95)
CIE-LCHlch(49.01, 41.96, 88.61°)
OKLaboklab(56.09% -0.0006 0.0947)
OKLCHoklch(56.09% 0.095 90.4)
XYZxyz(16.9174, 17.6061, 4.6973)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A722A #2A428A
analogous
#8A422A #8A722A #728A2A
triadic
#8A722A #2A8A72 #722A8A
tetradic
#8A722A #2A8A42 #2A428A #8A2A72
square
#8A722A #2A8A42 #2A428A #8A2A72
split-complementary
#8A722A #2A728A #422A8A
monochromatic
#2C240D #5B4B1C #8A722A #B99938 #CFB360

Accessibility & contrast

On white

4.64
#8A722A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A722A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A722A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A722A#FFFFFF#000000##FFFFFF
##8A722A1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#956963
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a722a;
/* rgb */ color: rgb(138, 114, 42);
/* oklch */ color: oklch(56.1% 0.095 90.4);
Tailwind
colors: {
  custom: {
    50: '#af9a67',
    500: '#8a722a',
    950: '#000000',
  },
}
SCSS
$custom: #8a722a;
$custom-light: #af9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a722a",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 42
  },
  "hsl": {
    "h": 45,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.09466,
    "h": 90.4
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#8A722A
secondary
#5B72B4
accent
#6FDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A722A

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

Preview Lab → · Contrast checker → · Palette generator →

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