#8E791D#8E791D

#8E791D is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.109 H 95.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8E791D
RGBrgb(142, 121, 29)
HSLhsl(49, 66%, 34%)
HSVhsv(49, 80%, 56%)
CMYKcmyk(0%, 14.8%, 79.6%, 44.3%)
CIE-LABlab(51.28, -1.75, 49.69)
CIE-LCHlch(51.28, 49.72, 92.01°)
OKLaboklab(57.95% -0.0103 0.1083)
OKLCHoklch(57.95% 0.109 95.4)
XYZxyz(18.2155, 19.5153, 3.9695)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E791D #1D328E
analogous
#8E411D #8E791D #6A8E1D
triadic
#8E791D #1D8E79 #791D8E
tetradic
#8E791D #1D8E41 #1D328E #8E1D6A
square
#8E791D #1D8E41 #1D328E #8E1D6A
split-complementary
#8E791D #1D6A8E #411D8E
monochromatic
#282208 #5B4E13 #8E791D #C1A427 #DAC04B

Accessibility & contrast

On white

4.28
#8E791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8E791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E791D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E791D#FFFFFF#000000##000000
##8E791D1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e791d;
/* rgb */ color: rgb(142, 121, 29);
/* oklch */ color: oklch(57.9% 0.109 95.4);
Tailwind
colors: {
  custom: {
    50: '#b39f61',
    500: '#8e791d',
    950: '#000000',
  },
}
SCSS
$custom: #8e791d;
$custom-light: #b39f61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e791d",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 48.85,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.10881,
    "h": 95.4
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#8E791D
secondary
#4A5FBD
accent
#5EE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E791D

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

Preview Lab → · Contrast checker → · Palette generator →

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