#8E792B#8E792B

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

Color values

HEX#8E792B
RGBrgb(142, 121, 43)
HSLhsl(47, 54%, 36%)
HSVhsv(47, 70%, 56%)
CMYKcmyk(0%, 14.8%, 69.7%, 44.3%)
CIE-LABlab(51.38, -1.04, 44.09)
CIE-LCHlch(51.38, 44.11, 91.36°)
OKLaboklab(58.06% -0.0067 0.0992)
OKLCHoklch(58.06% 0.099 93.9)
XYZxyz(18.4297, 19.6009, 5.0977)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E792B #2B408E
analogous
#8E482B #8E792B #728E2B
triadic
#8E792B #2B8E79 #792B8E
tetradic
#8E792B #2B8E48 #2B408E #8E2B72
square
#8E792B #2B8E48 #2B408E #8E2B72
split-complementary
#8E792B #2B728E #482B8E
monochromatic
#30290F #5F511D #8E792B #BDA139 #D0B963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E792B#FFFFFF#000000##000000
##8E792B1.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)
#867721
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#996F69
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e792b;
/* rgb */ color: rgb(142, 121, 43);
/* oklch */ color: oklch(58.1% 0.099 93.9);
Tailwind
colors: {
  custom: {
    50: '#b29f69',
    500: '#8e792b',
    950: '#000000',
  },
}
SCSS
$custom: #8e792b;
$custom-light: #b29f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8e792b",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 47.273,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.09947,
    "h": 93.9
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#8E792B
secondary
#5F71B6
accent
#6ADD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E792B

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

Preview Lab → · Contrast checker → · Palette generator →

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