#8E751C#8E751C

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

Color values

HEX#8E751C
RGBrgb(142, 117, 28)
HSLhsl(47, 67%, 33%)
HSVhsv(47, 80%, 56%)
CMYKcmyk(0%, 17.6%, 80.3%, 44.3%)
CIE-LABlab(50.17, 0.47, 49.03)
CIE-LCHlch(50.17, 49.03, 89.45°)
OKLaboklab(57.06% -0.0041 0.1067)
OKLCHoklch(57.06% 0.107 92.2)
XYZxyz(17.7272, 18.5583, 3.7468)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E751C #1C358E
analogous
#8E3C1C #8E751C #6E8E1C
triadic
#8E751C #1C8E75 #751C8E
tetradic
#8E751C #1C8E3C #1C358E #8E1C6E
square
#8E751C #1C8E3C #1C358E #8E1C6E
split-complementary
#8E751C #1C6E8E #3C1C8E
monochromatic
#282108 #5B4B12 #8E751C #C19F26 #DBBB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E751C#FFFFFF#000000##000000
##8E751C1.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)
#837309
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e751c;
/* rgb */ color: rgb(142, 117, 28);
/* oklch */ color: oklch(57.1% 0.107 92.2);
Tailwind
colors: {
  custom: {
    50: '#b39c60',
    500: '#8e751c',
    950: '#000000',
  },
}
SCSS
$custom: #8e751c;
$custom-light: #b39c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8e751c",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 46.842,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.10676,
    "h": 92.2
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#8E751C
secondary
#4962BD
accent
#64EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E751C

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

Preview Lab → · Contrast checker → · Palette generator →

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