#8E751D#8E751D

#8E751D is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.106 H 92.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E751D
RGBrgb(142, 117, 29)
HSLhsl(47, 66%, 34%)
HSVhsv(47, 80%, 56%)
CMYKcmyk(0%, 17.6%, 79.6%, 44.3%)
CIE-LABlab(50.17, 0.51, 48.67)
CIE-LCHlch(50.17, 48.67, 89.39°)
OKLaboklab(57.07% -0.0039 0.1061)
OKLCHoklch(57.07% 0.106 92.1)
XYZxyz(17.7394, 18.5632, 3.8109)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E751D #1D368E
analogous
#8E3C1D #8E751D #6E8E1D
triadic
#8E751D #1D8E75 #751D8E
tetradic
#8E751D #1D8E3C #1D368E #8E1D6E
square
#8E751D #1D8E3C #1D368E #8E1D6E
split-complementary
#8E751D #1D6E8E #3C1D8E
monochromatic
#282108 #5B4B13 #8E751D #C19F27 #DABB4B

Accessibility & contrast

On white

4.46
#8E751D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8E751D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E751D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E751D#FFFFFF#000000##000000
##8E751D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e751d;
/* rgb */ color: rgb(142, 117, 29);
/* oklch */ color: oklch(57.1% 0.106 92.1);
Tailwind
colors: {
  custom: {
    50: '#b39c61',
    500: '#8e751d',
    950: '#000000',
  },
}
SCSS
$custom: #8e751d;
$custom-light: #b39c61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e751d",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 46.726,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.1062,
    "h": 92.1
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#8E751D
secondary
#4A64BD
accent
#64E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E751D

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

Preview Lab → · Contrast checker → · Palette generator →

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