#8E751A#8E751A

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

Color values

HEX#8E751A
RGBrgb(142, 117, 26)
HSLhsl(47, 69%, 33%)
HSVhsv(47, 82%, 56%)
CMYKcmyk(0%, 17.6%, 81.7%, 44.3%)
CIE-LABlab(50.16, 0.40, 49.72)
CIE-LCHlch(50.16, 49.72, 89.54°)
OKLaboklab(57.05% -0.0045 0.1077)
OKLCHoklch(57.05% 0.108 92.4)
XYZxyz(17.7041, 18.5490, 3.6249)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E751A #1A338E
analogous
#8E3B1A #8E751A #6D8E1A
triadic
#8E751A #1A8E75 #751A8E
tetradic
#8E751A #1A8E3B #1A338E #8E1A6D
square
#8E751A #1A8E3B #1A338E #8E1A6D
split-complementary
#8E751A #1A6D8E #3B1A8E
monochromatic
#272007 #5A4A11 #8E751A #C2A023 #DDBC45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E751A#FFFFFF#000000##000000
##8E751A1.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)
#837304
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e751a;
/* rgb */ color: rgb(142, 117, 26);
/* oklch */ color: oklch(57.1% 0.108 92.4);
Tailwind
colors: {
  custom: {
    50: '#b39c5f',
    500: '#8e751a',
    950: '#000000',
  },
}
SCSS
$custom: #8e751a;
$custom-light: #b39c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e751a",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 47.069,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.10783,
    "h": 92.4
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#8E751A
secondary
#455FBE
accent
#62EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E751A

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

Preview Lab → · Contrast checker → · Palette generator →

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