#8B7E19#8B7E19

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

Color values

HEX#8B7E19
RGBrgb(139, 126, 25)
HSLhsl(53, 70%, 32%)
HSVhsv(53, 82%, 55%)
CMYKcmyk(0%, 9.4%, 82%, 45.5%)
CIE-LABlab(52.38, -6.09, 51.91)
CIE-LCHlch(52.38, 52.27, 96.69°)
OKLaboklab(58.74% -0.0228 0.1124)
OKLCHoklch(58.74% 0.115 101.5)
XYZxyz(18.2847, 20.4817, 3.9098)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E19 #19268B
analogous
#8B4519 #8B7E19 #5F8B19
triadic
#8B7E19 #198B7E #7E198B
tetradic
#8B7E19 #198B45 #19268B #8B195F
square
#8B7E19 #198B45 #19268B #8B195F
split-complementary
#8B7E19 #195F8B #45198B
monochromatic
#232006 #574F10 #8B7E19 #BFAD22 #DDCB41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7E19#FFFFFF#000000##000000
##8B7E191.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)
#8B7A00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#96746B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e19;
/* rgb */ color: rgb(139, 126, 25);
/* oklch */ color: oklch(58.7% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#b1a360',
    500: '#8b7e19',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e19;
$custom-light: #b1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e19",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 53.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.11468,
    "h": 101.5
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#8B7E19
secondary
#4250BE
accent
#50EC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #8B7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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