#8D9142#8D9142

#8D9142 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.6% C 0.103 H 111.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D9142
RGBrgb(141, 145, 66)
HSLhsl(63, 37%, 41%)
HSVhsv(63, 54%, 57%)
CMYKcmyk(2.8%, 0%, 54.5%, 43.1%)
CIE-LABlab(58.33, -12.95, 40.81)
CIE-LCHlch(58.33, 42.82, 107.60°)
OKLaboklab(63.63% -0.0378 0.0955)
OKLCHoklch(63.63% 0.103 111.6)
XYZxyz(22.0938, 26.3073, 9.0672)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9142 #464291
analogous
#916E42 #8D9142 #669142
triadic
#8D9142 #428D91 #91428D
tetradic
#8D9142 #42916E #464291 #914266
square
#8D9142 #42916E #464291 #914266
split-complementary
#8D9142 #426691 #6E4291
monochromatic
#3B3D1C #64672F #8D9142 #B0B55C #C4C886

Accessibility & contrast

On white

3.35
#8D9142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#8D9142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9142
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9142#FFFFFF#000000##000000
##8D91421.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3A
Deuteranopia (green-blind)
#9B8D46
Tritanopia (blue-blind)
#96897F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9142;
/* rgb */ color: rgb(141, 145, 66);
/* oklch */ color: oklch(63.6% 0.103 111.6);
Tailwind
colors: {
  custom: {
    50: '#b0b179',
    500: '#8d9142',
    950: '#000000',
  },
}
SCSS
$custom: #8d9142;
$custom-light: #b0b179;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9142",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 63.038,
    "s": 37.441,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.10275,
    "h": 111.6
  },
  "luminance": 0.26307
}

Semantic roles & 50–950 ramp

primary
#8D9142
secondary
#7F7CB3
accent
#5ACD60
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D9142

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

Preview Lab → · Contrast checker → · Palette generator →

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