#8D9031#8D9031

#8D9031 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.117 H 111.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8D9031
RGBrgb(141, 144, 49)
HSLhsl(62, 49%, 38%)
HSVhsv(62, 66%, 56%)
CMYKcmyk(2.1%, 0%, 66%, 43.5%)
CIE-LABlab(57.88, -13.72, 48.19)
CIE-LCHlch(57.88, 50.10, 105.90°)
OKLaboklab(63.21% -0.0419 0.1089)
OKLCHoklch(63.21% 0.117 111)
XYZxyz(21.5128, 25.8315, 6.7579)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9031 #343190
analogous
#906431 #8D9031 #5D9031
triadic
#8D9031 #318D90 #90318D
tetradic
#8D9031 #319064 #343190 #90315D
square
#8D9031 #319064 #343190 #90315D
split-complementary
#8D9031 #315D90 #643190
monochromatic
#343512 #606221 #8D9031 #BABE41 #CBCE6E

Accessibility & contrast

On white

3.41
#8D9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8D9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9031
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9031#FFFFFF#000000##000000
##8D90311.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A24
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#97877D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d9031;
/* rgb */ color: rgb(141, 144, 49);
/* oklch */ color: oklch(63.2% 0.117 111.0);
Tailwind
colors: {
  custom: {
    50: '#b1b06e',
    500: '#8d9031',
    950: '#000000',
  },
}
SCSS
$custom: #8d9031;
$custom-light: #b1b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9031",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 61.895,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63214,
    "c": 0.11672,
    "h": 111
  },
  "luminance": 0.25831
}

Semantic roles & 50–950 ramp

primary
#8D9031
secondary
#6A68B5
accent
#4FD953
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D9031

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

Preview Lab → · Contrast checker → · Palette generator →

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