#8D761B#8D761B

#8D761B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.2% C 0.108 H 93.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D761B
RGBrgb(141, 118, 27)
HSLhsl(48, 68%, 33%)
HSVhsv(48, 81%, 55%)
CMYKcmyk(0%, 16.3%, 80.9%, 44.7%)
CIE-LABlab(50.33, -0.60, 49.50)
CIE-LCHlch(50.33, 49.50, 90.70°)
OKLaboklab(57.17% -0.0072 0.1075)
OKLCHoklch(57.17% 0.108 93.8)
XYZxyz(17.6618, 18.6998, 3.7158)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D761B #1B328D
analogous
#8D3D1B #8D761B #6B8D1B
triadic
#8D761B #1B8D76 #761B8D
tetradic
#8D761B #1B8D3D #1B328D #8D1B6B
square
#8D761B #1B8D3D #1B328D #8D1B6B
split-complementary
#8D761B #1B6B8D #3D1B8D
monochromatic
#262007 #5A4B11 #8D761B #C0A125 #DCBE47

Accessibility & contrast

On white

4.43
#8D761B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D761B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D761B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D761B#FFFFFF#000000##000000
##8D761B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847406
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#996C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d761b;
/* rgb */ color: rgb(141, 118, 27);
/* oklch */ color: oklch(57.2% 0.108 93.8);
Tailwind
colors: {
  custom: {
    50: '#b29d60',
    500: '#8d761b',
    950: '#000000',
  },
}
SCSS
$custom: #8d761b;
$custom-light: #b29d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d761b",
  "rgb": {
    "r": 141,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 47.895,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.10775,
    "h": 93.8
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#8D761B
secondary
#465EBD
accent
#60EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D761B

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

Preview Lab → · Contrast checker → · Palette generator →

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