#8A7D1E#8A7D1E

#8A7D1E is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.111 H 101.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A7D1E
RGBrgb(138, 125, 30)
HSLhsl(53, 64%, 33%)
HSVhsv(53, 78%, 54%)
CMYKcmyk(0%, 9.4%, 78.3%, 45.9%)
CIE-LABlab(52.02, -5.81, 49.87)
CIE-LCHlch(52.02, 50.21, 96.64°)
OKLaboklab(58.44% -0.0215 0.1091)
OKLCHoklch(58.44% 0.111 101.1)
XYZxyz(18.0501, 20.1651, 4.1695)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D1E #1E2B8A
analogous
#8A471E #8A7D1E #618A1E
triadic
#8A7D1E #1E8A7D #7D1E8A
tetradic
#8A7D1E #1E8A47 #1E2B8A #8A1E61
square
#8A7D1E #1E8A47 #1E2B8A #8A1E61
split-complementary
#8A7D1E #1E618A #471E8A
monochromatic
#252208 #584F13 #8A7D1E #BCAB29 #D8C74B

Accessibility & contrast

On white

4.17
#8A7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8A7D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D1E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D1E#FFFFFF#000000##000000
##8A7D1E1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#95736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7d1e;
/* rgb */ color: rgb(138, 125, 30);
/* oklch */ color: oklch(58.4% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#b0a262',
    500: '#8a7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d1e;
$custom-light: #b0a262;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d1e",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 52.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.11119,
    "h": 101.1
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#8A7D1E
secondary
#4A57BA
accent
#55E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8A7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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