#8D9C2D#8D9C2D

#8D9C2D is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.0% C 0.134 H 116.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D9C2D
RGBrgb(141, 156, 45)
HSLhsl(68, 55%, 39%)
HSVhsv(68, 71%, 61%)
CMYKcmyk(9.6%, 0%, 71.2%, 38.8%)
CIE-LABlab(61.33, -20.19, 53.32)
CIE-LCHlch(61.33, 57.02, 110.74°)
OKLaboklab(65.97% -0.0604 0.1191)
OKLCHoklch(65.97% 0.134 116.9)
XYZxyz(23.3472, 29.6294, 6.9712)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C2D #3C2D9C
analogous
#9C742D #8D9C2D #569C2D
triadic
#8D9C2D #2D8D9C #9C2D8D
tetradic
#8D9C2D #2D9C74 #3C2D9C #9C2D56
square
#8D9C2D #2D9C74 #3C2D9C #9C2D56
split-complementary
#8D9C2D #2D569C #742D9C
monochromatic
#373D12 #626D1F #8D9C2D #B5C83F #C7D56E

Accessibility & contrast

On white

3.03
#8D9C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8D9C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C2D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C2D#FFFFFF#000000##000000
##8D9C2D1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941A
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#969386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c2d;
/* rgb */ color: rgb(141, 156, 45);
/* oklch */ color: oklch(66.0% 0.134 116.9);
Tailwind
colors: {
  custom: {
    50: '#b1b96d',
    500: '#8d9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c2d;
$custom-light: #b1b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c2d",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 68.108,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65974,
    "c": 0.13353,
    "h": 116.9
  },
  "luminance": 0.29629
}

Semantic roles & 50–950 ramp

primary
#8D9C2D
secondary
#7468BC
accent
#49DF5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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