#8D9C2B#8D9C2B

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

Color values

HEX#8D9C2B
RGBrgb(141, 156, 43)
HSLhsl(68, 57%, 39%)
HSVhsv(68, 72%, 61%)
CMYKcmyk(9.6%, 0%, 72.4%, 38.8%)
CIE-LABlab(61.32, -20.31, 54.06)
CIE-LCHlch(61.32, 57.75, 110.59°)
OKLaboklab(65.96% -0.0609 0.1203)
OKLCHoklch(65.96% 0.135 116.9)
XYZxyz(23.3096, 29.6144, 6.7732)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C2B #3A2B9C
analogous
#9C732B #8D9C2B #559C2B
triadic
#8D9C2B #2B8D9C #9C2B8D
tetradic
#8D9C2B #2B9C73 #3A2B9C #9C2B55
square
#8D9C2B #2B9C73 #3A2B9C #9C2B55
split-complementary
#8D9C2B #2B559C #732B9C
monochromatic
#363C11 #626C1E #8D9C2B #B6C93B #C8D66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9C2B#FFFFFF#000000##000000
##8D9C2B1.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)
#A79417
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#969386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c2b;
/* rgb */ color: rgb(141, 156, 43);
/* oklch */ color: oklch(66.0% 0.135 116.9);
Tailwind
colors: {
  custom: {
    50: '#b1b96c',
    500: '#8d9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c2b;
$custom-light: #b1b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c2b",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 67.965,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65959,
    "c": 0.13485,
    "h": 116.9
  },
  "luminance": 0.29614
}

Semantic roles & 50–950 ramp

primary
#8D9C2B
secondary
#7166BD
accent
#48E05C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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