#8D762F#8D762F

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

Color values

HEX#8D762F
RGBrgb(141, 118, 47)
HSLhsl(45, 50%, 37%)
HSVhsv(45, 67%, 55%)
CMYKcmyk(0%, 16.3%, 66.7%, 44.7%)
CIE-LABlab(50.48, 0.45, 41.26)
CIE-LCHlch(50.48, 41.26, 89.38°)
OKLaboklab(57.34% -0.0018 0.0939)
OKLCHoklch(57.34% 0.094 91.1)
XYZxyz(17.9769, 18.8258, 5.3756)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D762F #2F468D
analogous
#8D472F #8D762F #758D2F
triadic
#8D762F #2F8D76 #762F8D
tetradic
#8D762F #2F8D47 #2F468D #8D2F75
square
#8D762F #2F8D47 #2F468D #8D2F75
split-complementary
#8D762F #2F758D #472F8D
monochromatic
#312910 #5F5020 #8D762F #BB9C3E #CDB569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D762F#FFFFFF#000000##000000
##8D762F1.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)
#837427
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#986D67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d762f;
/* rgb */ color: rgb(141, 118, 47);
/* oklch */ color: oklch(57.3% 0.094 91.1);
Tailwind
colors: {
  custom: {
    50: '#b19d6b',
    500: '#8d762f',
    950: '#000000',
  },
}
SCSS
$custom: #8d762f;
$custom-light: #b19d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d762f",
  "rgb": {
    "r": 141,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 45.319,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.09396,
    "h": 91.1
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#8D762F
secondary
#6477B4
accent
#70DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D762F

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

Preview Lab → · Contrast checker → · Palette generator →

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