#8E761B#8E761B

#8E761B 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#8E761B
RGBrgb(142, 118, 27)
HSLhsl(47, 68%, 33%)
HSVhsv(47, 81%, 56%)
CMYKcmyk(0%, 16.9%, 81%, 44.3%)
CIE-LABlab(50.44, -0.13, 49.63)
CIE-LCHlch(50.44, 49.63, 90.15°)
OKLaboklab(57.28% -0.0059 0.1078)
OKLCHoklch(57.28% 0.108 93.2)
XYZxyz(17.8326, 18.7879, 3.7239)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E761B #1B338E
analogous
#8E3C1B #8E761B #6C8E1B
triadic
#8E761B #1B8E76 #761B8E
tetradic
#8E761B #1B8E3C #1B338E #8E1B6C
square
#8E761B #1B8E3C #1B338E #8E1B6C
split-complementary
#8E761B #1B6C8E #3C1B8E
monochromatic
#272107 #5B4B11 #8E761B #C1A125 #DCBD47

Accessibility & contrast

On white

4.41
#8E761B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E761B#FFFFFF#000000##000000
##8E761B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e761b;
/* rgb */ color: rgb(142, 118, 27);
/* oklch */ color: oklch(57.3% 0.108 93.2);
Tailwind
colors: {
  custom: {
    50: '#b39d60',
    500: '#8e761b',
    950: '#000000',
  },
}
SCSS
$custom: #8e761b;
$custom-light: #b39d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8e761b",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 47.478,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.10791,
    "h": 93.2
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#8E761B
secondary
#4760BE
accent
#61EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E761B

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

Preview Lab → · Contrast checker → · Palette generator →

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