#8E751F#8E751F

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

Color values

HEX#8E751F
RGBrgb(142, 117, 31)
HSLhsl(46, 64%, 34%)
HSVhsv(46, 78%, 56%)
CMYKcmyk(0%, 17.6%, 78.2%, 44.3%)
CIE-LABlab(50.18, 0.60, 47.93)
CIE-LCHlch(50.18, 47.93, 89.28°)
OKLaboklab(57.08% -0.0034 0.105)
OKLCHoklch(57.08% 0.105 91.9)
XYZxyz(17.7650, 18.5734, 3.9454)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E751F #1F388E
analogous
#8E3D1F #8E751F #708E1F
triadic
#8E751F #1F8E75 #751F8E
tetradic
#8E751F #1F8E3D #1F388E #8E1F70
square
#8E751F #1F8E3D #1F388E #8E1F70
split-complementary
#8E751F #1F708E #3D1F8E
monochromatic
#2A2209 #5C4C14 #8E751F #C09E2A #D9BA4F

Accessibility & contrast

On white

4.45
#8E751F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E751F#FFFFFF#000000##000000
##8E751F1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e751f;
/* rgb */ color: rgb(142, 117, 31);
/* oklch */ color: oklch(57.1% 0.105 91.9);
Tailwind
colors: {
  custom: {
    50: '#b39c62',
    500: '#8e751f',
    950: '#000000',
  },
}
SCSS
$custom: #8e751f;
$custom-light: #b39c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e751f",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 46.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.10504,
    "h": 91.9
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#8E751F
secondary
#4D66BB
accent
#66E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E751F

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

Preview Lab → · Contrast checker → · Palette generator →

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