#8A7E1E#8A7E1E

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

Color values

HEX#8A7E1E
RGBrgb(138, 126, 30)
HSLhsl(53, 64%, 33%)
HSVhsv(53, 78%, 54%)
CMYKcmyk(0%, 8.7%, 78.3%, 45.9%)
CIE-LABlab(52.31, -6.36, 50.13)
CIE-LCHlch(52.31, 50.53, 97.23°)
OKLaboklab(58.67% -0.023 0.1097)
OKLCHoklch(58.67% 0.112 101.9)
XYZxyz(18.1773, 20.4195, 4.2119)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E1E #1E2A8A
analogous
#8A481E #8A7E1E #608A1E
triadic
#8A7E1E #1E8A7E #7E1E8A
tetradic
#8A7E1E #1E8A48 #1E2A8A #8A1E60
square
#8A7E1E #1E8A48 #1E2A8A #8A1E60
split-complementary
#8A7E1E #1E608A #481E8A
monochromatic
#252208 #585013 #8A7E1E #BCAC29 #D8C84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7E1E#FFFFFF#000000##000000
##8A7E1E1.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)
#8A7A09
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#95746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e1e;
/* rgb */ color: rgb(138, 126, 30);
/* oklch */ color: oklch(58.7% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#b0a362',
    500: '#8a7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e1e;
$custom-light: #b0a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e1e",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 53.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.11205,
    "h": 101.9
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#8A7E1E
secondary
#4A56BA
accent
#53E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8A7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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