#8A7E1D#8A7E1D

#8A7E1D is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.113 H 101.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A7E1D
RGBrgb(138, 126, 29)
HSLhsl(53, 65%, 33%)
HSVhsv(53, 79%, 54%)
CMYKcmyk(0%, 8.7%, 79%, 45.9%)
CIE-LABlab(52.30, -6.40, 50.48)
CIE-LCHlch(52.30, 50.88, 97.23°)
OKLaboklab(58.66% -0.0233 0.1102)
OKLCHoklch(58.66% 0.113 101.9)
XYZxyz(18.1647, 20.4145, 4.1457)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E1D #1D298A
analogous
#8A471D #8A7E1D #608A1D
triadic
#8A7E1D #1D8A7E #7E1D8A
tetradic
#8A7E1D #1D8A47 #1D298A #8A1D60
square
#8A7E1D #1D8A47 #1D298A #8A1D60
split-complementary
#8A7E1D #1D608A #471D8A
monochromatic
#252208 #575012 #8A7E1D #BDAC28 #D9C949

Accessibility & contrast

On white

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

On black

5.08
#8A7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E1D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E1D#FFFFFF#000000##000000
##8A7E1D1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#95746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e1d;
/* rgb */ color: rgb(138, 126, 29);
/* oklch */ color: oklch(58.7% 0.113 101.9);
Tailwind
colors: {
  custom: {
    50: '#b0a362',
    500: '#8a7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e1d;
$custom-light: #b0a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e1d",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 53.394,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.11262,
    "h": 101.9
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#8A7E1D
secondary
#4855BB
accent
#52E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8A7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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