#8E792D#8E792D

#8E792D is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.098 H 93.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E792D
RGBrgb(142, 121, 45)
HSLhsl(47, 52%, 37%)
HSVhsv(47, 68%, 56%)
CMYKcmyk(0%, 14.8%, 68.3%, 44.3%)
CIE-LABlab(51.40, -0.92, 43.20)
CIE-LCHlch(51.40, 43.21, 91.22°)
OKLaboklab(58.08% -0.0061 0.0977)
OKLCHoklch(58.08% 0.098 93.6)
XYZxyz(18.4673, 19.6160, 5.2957)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E792D #2D428E
analogous
#8E492D #8E792D #738E2D
triadic
#8E792D #2D8E79 #792D8E
tetradic
#8E792D #2D8E49 #2D428E #8E2D73
square
#8E792D #2D8E49 #2D428E #8E2D73
split-complementary
#8E792D #2D738E #492D8E
monochromatic
#312A10 #60511E #8E792D #BCA13C #CFB867

Accessibility & contrast

On white

4.27
#8E792D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8E792D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E792D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E792D#FFFFFF#000000##000000
##8E792D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#997069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e792d;
/* rgb */ color: rgb(142, 121, 45);
/* oklch */ color: oklch(58.1% 0.098 93.6);
Tailwind
colors: {
  custom: {
    50: '#b29f6a',
    500: '#8e792d',
    950: '#000000',
  },
}
SCSS
$custom: #8e792d;
$custom-light: #b29f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e792d",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 47.01,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.09789,
    "h": 93.6
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#8E792D
secondary
#6174B5
accent
#6BDB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8E792D

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

Preview Lab → · Contrast checker → · Palette generator →

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