#8D792F#8D792F

#8D792F is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 58.0% C 0.096 H 94.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D792F
RGBrgb(141, 121, 47)
HSLhsl(47, 50%, 37%)
HSVhsv(47, 67%, 55%)
CMYKcmyk(0%, 14.2%, 66.7%, 44.7%)
CIE-LABlab(51.32, -1.25, 42.15)
CIE-LCHlch(51.32, 42.17, 91.70°)
OKLaboklab(57.99% -0.0067 0.0959)
OKLCHoklch(57.99% 0.096 94)
XYZxyz(18.3358, 19.5437, 5.4953)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D792F #2F438D
analogous
#8D4A2F #8D792F #728D2F
triadic
#8D792F #2F8D79 #792F8D
tetradic
#8D792F #2F8D4A #2F438D #8D2F72
square
#8D792F #2F8D4A #2F438D #8D2F72
split-complementary
#8D792F #2F728D #4A2F8D
monochromatic
#312A10 #5F5220 #8D792F #BBA03E #CDB869

Accessibility & contrast

On white

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

On black

4.91
#8D792F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D792F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D792F#FFFFFF#000000##000000
##8D792F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#987069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d792f;
/* rgb */ color: rgb(141, 121, 47);
/* oklch */ color: oklch(58.0% 0.096 94.0);
Tailwind
colors: {
  custom: {
    50: '#b19f6b',
    500: '#8d792f',
    950: '#000000',
  },
}
SCSS
$custom: #8d792f;
$custom-light: #b19f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d792f",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 47.234,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.09609,
    "h": 94
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#8D792F
secondary
#6475B4
accent
#6CDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D792F

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

Preview Lab → · Contrast checker → · Palette generator →

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