#8A7E24#8A7E24

#8A7E24 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.108 H 101.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A7E24
RGBrgb(138, 126, 36)
HSLhsl(53, 59%, 34%)
HSVhsv(53, 74%, 54%)
CMYKcmyk(0%, 8.7%, 73.9%, 45.9%)
CIE-LABlab(52.35, -6.08, 47.91)
CIE-LCHlch(52.35, 48.29, 97.23°)
OKLaboklab(58.71% -0.0216 0.1061)
OKLCHoklch(58.71% 0.108 101.5)
XYZxyz(18.2613, 20.4532, 4.6547)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E24 #24308A
analogous
#8A4B24 #8A7E24 #638A24
triadic
#8A7E24 #248A7E #7E248A
tetradic
#8A7E24 #248A4B #24308A #8A2463
square
#8A7E24 #248A4B #24308A #8A2463
split-complementary
#8A7E24 #24638A #4B248A
monochromatic
#29250B #595217 #8A7E24 #BBAA31 #D3C456

Accessibility & contrast

On white

4.13
#8A7E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A7E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E24
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E24#FFFFFF#000000##000000
##8A7E241.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#95756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e24;
/* rgb */ color: rgb(138, 126, 36);
/* oklch */ color: oklch(58.7% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#afa365',
    500: '#8a7e24',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e24;
$custom-light: #afa365;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e24",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 52.941,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58712,
    "c": 0.10831,
    "h": 101.5
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#8A7E24
secondary
#535FB7
accent
#58E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8A7E24

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

Preview Lab → · Contrast checker → · Palette generator →

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