#8E751B#8E751B

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

Color values

HEX#8E751B
RGBrgb(142, 117, 27)
HSLhsl(47, 68%, 33%)
HSVhsv(47, 81%, 56%)
CMYKcmyk(0%, 17.6%, 81%, 44.3%)
CIE-LABlab(50.16, 0.44, 49.38)
CIE-LCHlch(50.16, 49.38, 89.50°)
OKLaboklab(57.06% -0.0043 0.1072)
OKLCHoklch(57.06% 0.107 92.3)
XYZxyz(17.7155, 18.5536, 3.6848)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E751B #1B348E
analogous
#8E3C1B #8E751B #6D8E1B
triadic
#8E751B #1B8E75 #751B8E
tetradic
#8E751B #1B8E3C #1B348E #8E1B6D
square
#8E751B #1B8E3C #1B348E #8E1B6D
split-complementary
#8E751B #1B6D8E #3C1B8E
monochromatic
#272007 #5B4B11 #8E751B #C19F25 #DCBC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E751B#FFFFFF#000000##000000
##8E751B1.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)
#837306
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e751b;
/* rgb */ color: rgb(142, 117, 27);
/* oklch */ color: oklch(57.1% 0.107 92.3);
Tailwind
colors: {
  custom: {
    50: '#b39c60',
    500: '#8e751b',
    950: '#000000',
  },
}
SCSS
$custom: #8e751b;
$custom-light: #b39c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8e751b",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 46.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.1073,
    "h": 92.3
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#8E751B
secondary
#4761BE
accent
#63EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E751B

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

Preview Lab → · Contrast checker → · Palette generator →

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