#8A7A24#8A7A24

#8A7A24 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.105 H 98.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A7A24
RGBrgb(138, 122, 36)
HSLhsl(51, 59%, 34%)
HSVhsv(51, 74%, 54%)
CMYKcmyk(0%, 11.6%, 73.9%, 45.9%)
CIE-LABlab(51.21, -3.85, 46.80)
CIE-LCHlch(51.21, 46.95, 94.70°)
OKLaboklab(57.81% -0.0153 0.1038)
OKLCHoklch(57.81% 0.105 98.4)
XYZxyz(17.7601, 19.4506, 4.4876)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A24 #24348A
analogous
#8A4724 #8A7A24 #678A24
triadic
#8A7A24 #248A7A #7A248A
tetradic
#8A7A24 #248A47 #24348A #8A2467
square
#8A7A24 #248A47 #24348A #8A2467
split-complementary
#8A7A24 #24678A #47248A
monochromatic
#29240B #594F17 #8A7A24 #BBA531 #D3BF56

Accessibility & contrast

On white

4.29
#8A7A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A7A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A24
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A24#FFFFFF#000000##000000
##8A7A241.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867716
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#957169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a24;
/* rgb */ color: rgb(138, 122, 36);
/* oklch */ color: oklch(57.8% 0.105 98.4);
Tailwind
colors: {
  custom: {
    50: '#afa065',
    500: '#8a7a24',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a24;
$custom-light: #afa065;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a24",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 50.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.1049,
    "h": 98.4
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

primary
#8A7A24
secondary
#5363B7
accent
#5EE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7A24

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

Preview Lab → · Contrast checker → · Palette generator →

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