#8F781D#8F781D

#8F781D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.108 H 93.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F781D
RGBrgb(143, 120, 29)
HSLhsl(48, 66%, 34%)
HSVhsv(48, 80%, 56%)
CMYKcmyk(0%, 16.1%, 79.7%, 43.9%)
CIE-LABlab(51.11, -0.72, 49.57)
CIE-LCHlch(51.11, 49.57, 90.83°)
OKLaboklab(57.83% -0.0074 0.108)
OKLCHoklch(57.83% 0.108 93.9)
XYZxyz(18.2670, 19.3624, 3.9373)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F781D #1D348F
analogous
#8F3F1D #8F781D #6D8F1D
triadic
#8F781D #1D8F78 #781D8F
tetradic
#8F781D #1D8F3F #1D348F #8F1D6D
square
#8F781D #1D8F3F #1D348F #8F1D6D
split-complementary
#8F781D #1D6D8F #3F1D8F
monochromatic
#292308 #5C4D13 #8F781D #C2A327 #DBBE4C

Accessibility & contrast

On white

4.31
#8F781D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8F781D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F781D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F781D#FFFFFF#000000##000000
##8F781D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#9B6E67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f781d;
/* rgb */ color: rgb(143, 120, 29);
/* oklch */ color: oklch(57.8% 0.108 93.9);
Tailwind
colors: {
  custom: {
    50: '#b49e61',
    500: '#8f781d',
    950: '#000000',
  },
}
SCSS
$custom: #8f781d;
$custom-light: #b49e61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f781d",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 47.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.10826,
    "h": 93.9
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#8F781D
secondary
#4B62BD
accent
#61E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #8F781D

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

Preview Lab → · Contrast checker → · Palette generator →

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