#8E792C#8E792C

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

Color values

HEX#8E792C
RGBrgb(142, 121, 44)
HSLhsl(47, 53%, 36%)
HSVhsv(47, 69%, 56%)
CMYKcmyk(0%, 14.8%, 69%, 44.3%)
CIE-LABlab(51.39, -0.99, 43.65)
CIE-LCHlch(51.39, 43.66, 91.29°)
OKLaboklab(58.07% -0.0064 0.0985)
OKLCHoklch(58.07% 0.099 93.7)
XYZxyz(18.4482, 19.6084, 5.1955)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E792C #2C418E
analogous
#8E482C #8E792C #728E2C
triadic
#8E792C #2C8E79 #792C8E
tetradic
#8E792C #2C8E48 #2C418E #8E2C72
square
#8E792C #2C8E48 #2C418E #8E2C72
split-complementary
#8E792C #2C728E #482C8E
monochromatic
#31290F #5F511E #8E792C #BDA13A #CFB965

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E792C#FFFFFF#000000##000000
##8E792C1.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)
#867722
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#996F69
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e792c;
/* rgb */ color: rgb(142, 121, 44);
/* oklch */ color: oklch(58.1% 0.099 93.7);
Tailwind
colors: {
  custom: {
    50: '#b29f69',
    500: '#8e792c',
    950: '#000000',
  },
}
SCSS
$custom: #8e792c;
$custom-light: #b29f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8e792c",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 47.143,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.09869,
    "h": 93.7
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#8E792C
secondary
#6072B6
accent
#6BDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E792C

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

Preview Lab → · Contrast checker → · Palette generator →

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