#8D9C2C#8D9C2C

#8D9C2C 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.92:1 contrast (WCAG AA passes).

Color values

HEX#8D9C2C
RGBrgb(141, 156, 44)
HSLhsl(68, 56%, 39%)
HSVhsv(68, 72%, 61%)
CMYKcmyk(9.6%, 0%, 71.8%, 38.8%)
CIE-LABlab(61.33, -20.25, 53.70)
CIE-LCHlch(61.33, 57.39, 110.66°)
OKLaboklab(65.97% -0.0607 0.1197)
OKLCHoklch(65.97% 0.134 116.9)
XYZxyz(23.3281, 29.6218, 6.8710)
Luminance0.2962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C2C #3B2C9C
analogous
#9C732C #8D9C2C #559C2C
triadic
#8D9C2C #2C8D9C #9C2C8D
tetradic
#8D9C2C #2C9C73 #3B2C9C #9C2C55
square
#8D9C2C #2C9C73 #3B2C9C #9C2C55
split-complementary
#8D9C2C #2C559C #732C9C
monochromatic
#373D11 #626C1F #8D9C2C #B6C83D #C8D66D

Accessibility & contrast

On white

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

On black

6.92
#8D9C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C2C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C2C#FFFFFF#000000##000000
##8D9C2C1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9c2c;
/* rgb */ color: rgb(141, 156, 44);
/* oklch */ color: oklch(66.0% 0.134 116.9);
Tailwind
colors: {
  custom: {
    50: '#b1b96d',
    500: '#8d9c2c',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c2c;
$custom-light: #b1b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c2c",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 68.036,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65967,
    "c": 0.1342,
    "h": 116.9
  },
  "luminance": 0.29622
}

Semantic roles & 50–950 ramp

primary
#8D9C2C
secondary
#7367BD
accent
#49DF5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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