#8B7F19#8B7F19

#8B7F19 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.116 H 102.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B7F19
RGBrgb(139, 127, 25)
HSLhsl(54, 70%, 32%)
HSVhsv(54, 82%, 55%)
CMYKcmyk(0%, 8.6%, 82%, 45.5%)
CIE-LABlab(52.66, -6.65, 52.16)
CIE-LCHlch(52.66, 52.58, 97.26°)
OKLaboklab(58.97% -0.0244 0.1129)
OKLCHoklch(58.97% 0.116 102.2)
XYZxyz(18.4132, 20.7387, 3.9526)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F19 #19258B
analogous
#8B4619 #8B7F19 #5E8B19
triadic
#8B7F19 #198B7F #7F198B
tetradic
#8B7F19 #198B46 #19258B #8B195E
square
#8B7F19 #198B46 #19258B #8B195E
split-complementary
#8B7F19 #195E8B #46198B
monochromatic
#232006 #575010 #8B7F19 #BFAE22 #DDCD41

Accessibility & contrast

On white

4.08
#8B7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B7F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F19
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F19#FFFFFF#000000##000000
##8B7F191.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#96756C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f19;
/* rgb */ color: rgb(139, 127, 25);
/* oklch */ color: oklch(59.0% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b1a360',
    500: '#8b7f19',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f19;
$custom-light: #b1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f19",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 53.684,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.11553,
    "h": 102.2
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#8B7F19
secondary
#424FBE
accent
#4EEC3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8B7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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