#8B7C1E#8B7C1E

#8B7C1E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.110 H 99.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8B7C1E
RGBrgb(139, 124, 30)
HSLhsl(52, 64%, 33%)
HSVhsv(52, 78%, 55%)
CMYKcmyk(0%, 10.8%, 78.4%, 45.5%)
CIE-LABlab(51.84, -4.79, 49.73)
CIE-LCHlch(51.84, 49.96, 95.50°)
OKLaboklab(58.32% -0.0186 0.1088)
OKLCHoklch(58.32% 0.11 99.7)
XYZxyz(18.0903, 19.9989, 4.1353)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7C1E #1E2D8B
analogous
#8B451E #8B7C1E #638B1E
triadic
#8B7C1E #1E8B7C #7C1E8B
tetradic
#8B7C1E #1E8B45 #1E2D8B #8B1E63
square
#8B7C1E #1E8B45 #1E2D8B #8B1E63
split-complementary
#8B7C1E #1E638B #451E8B
monochromatic
#262208 #594F13 #8B7C1E #BDA929 #D8C54B

Accessibility & contrast

On white

4.20
#8B7C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8B7C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7C1E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7C1E#FFFFFF#000000##000000
##8B7C1E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780A
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#96726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7c1e;
/* rgb */ color: rgb(139, 124, 30);
/* oklch */ color: oklch(58.3% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#b0a162',
    500: '#8b7c1e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7c1e;
$custom-light: #b0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7c1e",
  "rgb": {
    "r": 139,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 51.743,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.11035,
    "h": 99.7
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#8B7C1E
secondary
#4A5ABB
accent
#57E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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