#8A7C1E#8A7C1E

#8A7C1E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.110 H 100.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A7C1E
RGBrgb(138, 124, 30)
HSLhsl(52, 64%, 33%)
HSVhsv(52, 78%, 54%)
CMYKcmyk(0%, 10.1%, 78.3%, 45.9%)
CIE-LABlab(51.74, -5.25, 49.61)
CIE-LCHlch(51.74, 49.88, 96.04°)
OKLaboklab(58.22% -0.0199 0.1085)
OKLCHoklch(58.22% 0.11 100.4)
XYZxyz(17.9241, 19.9132, 4.1275)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C1E #1E2C8A
analogous
#8A461E #8A7C1E #628A1E
triadic
#8A7C1E #1E8A7C #7C1E8A
tetradic
#8A7C1E #1E8A46 #1E2C8A #8A1E62
square
#8A7C1E #1E8A46 #1E2C8A #8A1E62
split-complementary
#8A7C1E #1E628A #461E8A
monochromatic
#252208 #584F13 #8A7C1E #BCA929 #D8C54B

Accessibility & contrast

On white

4.21
#8A7C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A7C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C1E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C1E#FFFFFF#000000##000000
##8A7C1E1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780A
Deuteranopia (green-blind)
#8C7E25
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7c1e;
/* rgb */ color: rgb(138, 124, 30);
/* oklch */ color: oklch(58.2% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#b0a162',
    500: '#8a7c1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c1e;
$custom-light: #b0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c1e",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 52.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.11034,
    "h": 100.4
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#8A7C1E
secondary
#4A58BA
accent
#56E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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