#8E8335#8E8335

#8E8335 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.100 H 101.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8E8335
RGBrgb(142, 131, 53)
HSLhsl(53, 46%, 38%)
HSVhsv(53, 63%, 56%)
CMYKcmyk(0%, 7.7%, 62.7%, 44.3%)
CIE-LABlab(54.28, -5.97, 42.57)
CIE-LCHlch(54.28, 42.98, 97.98°)
OKLaboklab(60.38% -0.0195 0.0976)
OKLCHoklch(60.38% 0.1 101.3)
XYZxyz(19.9150, 22.2412, 6.6114)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8335 #35408E
analogous
#8E5635 #8E8335 #6C8E35
triadic
#8E8335 #358E83 #83358E
tetradic
#8E8335 #358E56 #35408E #8E356C
square
#8E8335 #358E56 #35408E #8E356C
split-complementary
#8E8335 #356C8E #56358E
monochromatic
#353114 #615A24 #8E8335 #BAAC46 #CBC073

Accessibility & contrast

On white

3.85
#8E8335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8E8335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8335
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8335#FFFFFF#000000##000000
##8E83351.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F2C
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#987A72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e8335;
/* rgb */ color: rgb(142, 131, 53);
/* oklch */ color: oklch(60.4% 0.100 101.3);
Tailwind
colors: {
  custom: {
    50: '#b2a670',
    500: '#8e8335',
    950: '#000000',
  },
}
SCSS
$custom: #8e8335;
$custom-light: #b2a670;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8335",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 52.584,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.09956,
    "h": 101.3
  },
  "luminance": 0.2224
}

Semantic roles & 50–950 ramp

primary
#8E8335
secondary
#6C75B3
accent
#63D552
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8E8335

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

Preview Lab → · Contrast checker → · Palette generator →

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