#8F781E#8F781E

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

Color values

HEX#8F781E
RGBrgb(143, 120, 30)
HSLhsl(48, 65%, 34%)
HSVhsv(48, 79%, 56%)
CMYKcmyk(0%, 16.1%, 79%, 43.9%)
CIE-LABlab(51.11, -0.68, 49.21)
CIE-LCHlch(51.11, 49.21, 90.79°)
OKLaboklab(57.84% -0.0072 0.1075)
OKLCHoklch(57.84% 0.108 93.8)
XYZxyz(18.2795, 19.3674, 4.0035)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F781E #1E358F
analogous
#8F401E #8F781E #6E8F1E
triadic
#8F781E #1E8F78 #781E8F
tetradic
#8F781E #1E8F40 #1E358F #8F1E6E
square
#8F781E #1E8F40 #1E358F #8F1E6E
split-complementary
#8F781E #1E6E8F #401E8F
monochromatic
#2A2309 #5C4E13 #8F781E #C2A229 #DABD4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F781E#FFFFFF#000000##000000
##8F781E1.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)
#86760C
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#9B6E67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f781e;
/* rgb */ color: rgb(143, 120, 30);
/* oklch */ color: oklch(57.8% 0.108 93.8);
Tailwind
colors: {
  custom: {
    50: '#b49e62',
    500: '#8f781e',
    950: '#000000',
  },
}
SCSS
$custom: #8f781e;
$custom-light: #b49e62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f781e",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 47.788,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5784,
    "c": 0.10769,
    "h": 93.8
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#8F781E
secondary
#4C63BC
accent
#62E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #8F781E

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

Preview Lab → · Contrast checker → · Palette generator →

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