#8E9331#8E9331

#8E9331 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.0% C 0.120 H 112.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8E9331
RGBrgb(142, 147, 49)
HSLhsl(63, 50%, 38%)
HSVhsv(63, 67%, 58%)
CMYKcmyk(3.4%, 0%, 66.7%, 42.4%)
CIE-LABlab(58.83, -14.86, 49.20)
CIE-LCHlch(58.83, 51.40, 106.81°)
OKLaboklab(63.99% -0.0452 0.111)
OKLCHoklch(63.99% 0.12 112.1)
XYZxyz(22.1441, 26.8405, 6.9194)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9331 #363193
analogous
#936731 #8E9331 #5D9331
triadic
#8E9331 #318E93 #93318E
tetradic
#8E9331 #319367 #363193 #93315D
square
#8E9331 #319367 #363193 #93315D
split-complementary
#8E9331 #315D93 #673193
monochromatic
#353712 #626522 #8E9331 #B9C041 #CACF6F

Accessibility & contrast

On white

3.30
#8E9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#8E9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9331
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9331#FFFFFF#000000##000000
##8E93311.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#988A7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8e9331;
/* rgb */ color: rgb(142, 147, 49);
/* oklch */ color: oklch(64.0% 0.120 112.1);
Tailwind
colors: {
  custom: {
    50: '#b2b26f',
    500: '#8e9331',
    950: '#000000',
  },
}
SCSS
$custom: #8e9331;
$custom-light: #b2b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9331",
  "rgb": {
    "r": 142,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 63.061,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63994,
    "c": 0.11988,
    "h": 112.1
  },
  "luminance": 0.2684
}

Semantic roles & 50–950 ramp

primary
#8E9331
secondary
#6D69B7
accent
#4EDA55
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E9331

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

Preview Lab → · Contrast checker → · Palette generator →

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