#8B7E1C#8B7E1C

#8B7E1C is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.113 H 101.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8B7E1C
RGBrgb(139, 126, 28)
HSLhsl(53, 66%, 33%)
HSVhsv(53, 80%, 55%)
CMYKcmyk(0%, 9.4%, 79.9%, 45.5%)
CIE-LABlab(52.39, -5.98, 50.94)
CIE-LCHlch(52.39, 51.29, 96.69°)
OKLaboklab(58.76% -0.0222 0.1109)
OKLCHoklch(58.76% 0.113 101.3)
XYZxyz(18.3188, 20.4954, 4.0895)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E1C #1C298B
analogous
#8B461C #8B7E1C #608B1C
triadic
#8B7E1C #1C8B7E #7E1C8B
tetradic
#8B7E1C #1C8B46 #1C298B #8B1C60
square
#8B7E1C #1C8B46 #1C298B #8B1C60
split-complementary
#8B7E1C #1C608B #461C8B
monochromatic
#252207 #585012 #8B7E1C #BEAC26 #DAC947

Accessibility & contrast

On white

4.12
#8B7E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8B7E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E1C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E1C#FFFFFF#000000##000000
##8B7E1C1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A04
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e1c;
/* rgb */ color: rgb(139, 126, 28);
/* oklch */ color: oklch(58.8% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#b0a361',
    500: '#8b7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e1c;
$custom-light: #b0a361;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e1c",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 52.973,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58756,
    "c": 0.11313,
    "h": 101.3
  },
  "luminance": 0.20495
}

Semantic roles & 50–950 ramp

primary
#8B7E1C
secondary
#4755BC
accent
#52E93E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8B7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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