#8E8331#8E8331

#8E8331 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.103 H 101.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8E8331
RGBrgb(142, 131, 49)
HSLhsl(53, 49%, 37%)
HSVhsv(53, 65%, 56%)
CMYKcmyk(0%, 7.7%, 65.5%, 44.3%)
CIE-LABlab(54.24, -6.25, 44.39)
CIE-LCHlch(54.24, 44.83, 98.01°)
OKLaboklab(60.34% -0.0208 0.1009)
OKLCHoklch(60.34% 0.103 101.7)
XYZxyz(19.8268, 22.2059, 6.1469)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8331 #313C8E
analogous
#8E5431 #8E8331 #6B8E31
triadic
#8E8331 #318E83 #83318E
tetradic
#8E8331 #318E54 #313C8E #8E316B
square
#8E8331 #318E54 #313C8E #8E316B
split-complementary
#8E8331 #316B8E #54318E
monochromatic
#332F12 #615921 #8E8331 #BBAD41 #CDC16D

Accessibility & contrast

On white

3.86
#8E8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8E8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8331
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8331#FFFFFF#000000##000000
##8E83311.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#997A72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e8331;
/* rgb */ color: rgb(142, 131, 49);
/* oklch */ color: oklch(60.3% 0.103 101.7);
Tailwind
colors: {
  custom: {
    50: '#b2a66d',
    500: '#8e8331',
    950: '#000000',
  },
}
SCSS
$custom: #8e8331;
$custom-light: #b2a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8331",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 52.903,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60342,
    "c": 0.10301,
    "h": 101.7
  },
  "luminance": 0.22205
}

Semantic roles & 50–950 ramp

primary
#8E8331
secondary
#6770B4
accent
#60D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E8331

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

Preview Lab → · Contrast checker → · Palette generator →

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