#8E761A#8E761A

#8E761A is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.108 H 93.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8E761A
RGBrgb(142, 118, 26)
HSLhsl(48, 69%, 33%)
HSVhsv(48, 82%, 56%)
CMYKcmyk(0%, 16.9%, 81.7%, 44.3%)
CIE-LABlab(50.43, -0.17, 49.97)
CIE-LCHlch(50.43, 49.97, 90.19°)
OKLaboklab(57.27% -0.0061 0.1083)
OKLCHoklch(57.27% 0.108 93.2)
XYZxyz(17.8212, 18.7833, 3.6640)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E761A #1A328E
analogous
#8E3C1A #8E761A #6C8E1A
triadic
#8E761A #1A8E76 #761A8E
tetradic
#8E761A #1A8E3C #1A328E #8E1A6C
square
#8E761A #1A8E3C #1A328E #8E1A6C
split-complementary
#8E761A #1A6C8E #3C1A8E
monochromatic
#272007 #5A4B11 #8E761A #C2A123 #DDBE45

Accessibility & contrast

On white

4.42
#8E761A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8E761A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E761A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E761A#FFFFFF#000000##000000
##8E761A1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e761a;
/* rgb */ color: rgb(142, 118, 26);
/* oklch */ color: oklch(57.3% 0.108 93.2);
Tailwind
colors: {
  custom: {
    50: '#b39d5f',
    500: '#8e761a',
    950: '#000000',
  },
}
SCSS
$custom: #8e761a;
$custom-light: #b39d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e761a",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 47.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.10843,
    "h": 93.2
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#8E761A
secondary
#455EBE
accent
#60EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E761A

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

Preview Lab → · Contrast checker → · Palette generator →

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