#8D9D1C#8D9D1C

#8D9D1C is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.144 H 117.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D9D1C
RGBrgb(141, 157, 28)
HSLhsl(67, 70%, 36%)
HSVhsv(67, 82%, 62%)
CMYKcmyk(10.2%, 0%, 82.2%, 38.4%)
CIE-LABlab(61.53, -21.49, 59.14)
CIE-LCHlch(61.53, 62.92, 109.97°)
OKLaboklab(66.11% -0.0654 0.1284)
OKLCHoklch(66.11% 0.144 117)
XYZxyz(23.2517, 29.8608, 5.6372)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D1C #2C1C9D
analogous
#9D6D1C #8D9D1C #4D9D1C
triadic
#8D9D1C #1C8D9D #9D1C8D
tetradic
#8D9D1C #1C9D6D #2C1C9D #9D1C4D
square
#8D9D1C #1C9D6D #2C1C9D #9D1C4D
split-complementary
#8D9D1C #1C4D9D #6D1C9D
monochromatic
#303509 #5E6913 #8D9D1C #BCD125 #CFE053

Accessibility & contrast

On white

3.01
#8D9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8D9D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D1C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D1C#FFFFFF#000000##000000
##8D9D1C1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A79529
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d1c;
/* rgb */ color: rgb(141, 157, 28);
/* oklch */ color: oklch(66.1% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#b2b966',
    500: '#8d9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d1c;
$custom-light: #b2b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d1c",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 67.442,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66106,
    "c": 0.14411,
    "h": 117
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#8D9D1C
secondary
#6051C3
accent
#3BED51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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