#8D9A42#8D9A42

#8D9A42 is a light, moderate yellow. Relative luminance 0.292; OKLCH L 65.7% C 0.114 H 116.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D9A42
RGBrgb(141, 154, 66)
HSLhsl(69, 40%, 43%)
HSVhsv(69, 57%, 60%)
CMYKcmyk(8.4%, 0%, 57.1%, 39.6%)
CIE-LABlab(60.93, -17.67, 43.79)
CIE-LCHlch(60.93, 47.22, 111.97°)
OKLaboklab(65.71% -0.0512 0.1019)
OKLCHoklch(65.71% 0.114 116.7)
XYZxyz(23.5239, 29.1675, 9.5439)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A42 #4F429A
analogous
#9A7B42 #8D9A42 #619A42
triadic
#8D9A42 #428D9A #9A428D
tetradic
#8D9A42 #429A7B #4F429A #9A4261
square
#8D9A42 #429A7B #4F429A #9A4261
split-complementary
#8D9A42 #42619A #7B429A
monochromatic
#3F441D #666F30 #8D9A42 #ADBA5F #C3CD8A

Accessibility & contrast

On white

3.07
#8D9A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8D9A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A42
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A42#FFFFFF#000000##000000
##8D9A421.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#A29447
Tritanopia (blue-blind)
#959287
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9a42;
/* rgb */ color: rgb(141, 154, 66);
/* oklch */ color: oklch(65.7% 0.114 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b779',
    500: '#8d9a42',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a42;
$custom-light: #b0b779;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a42",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 68.864,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65707,
    "c": 0.11407,
    "h": 116.7
  },
  "luminance": 0.29167
}

Semantic roles & 50–950 ramp

primary
#8D9A42
secondary
#8880B8
accent
#58D06A
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111109
muted
#80807B

Preview Lab

Preview with #8D9A42

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

Preview Lab → · Contrast checker → · Palette generator →

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