#8D9D1E#8D9D1E

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

Color values

HEX#8D9D1E
RGBrgb(141, 157, 30)
HSLhsl(68, 68%, 37%)
HSVhsv(68, 81%, 62%)
CMYKcmyk(10.2%, 0%, 80.9%, 38.4%)
CIE-LABlab(61.54, -21.41, 58.58)
CIE-LCHlch(61.54, 62.37, 110.08°)
OKLaboklab(66.12% -0.0651 0.1276)
OKLCHoklch(66.12% 0.143 117)
XYZxyz(23.2764, 29.8707, 5.7675)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D1E #2E1E9D
analogous
#9D6E1E #8D9D1E #4E9D1E
triadic
#8D9D1E #1E8D9D #9D1E8D
tetradic
#8D9D1E #1E9D6E #2E1E9D #9D1E4E
square
#8D9D1E #1E9D6E #2E1E9D #9D1E4E
split-complementary
#8D9D1E #1E4E9D #6E1E9D
monochromatic
#31360A #5F6A14 #8D9D1E #BBD028 #CEDF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9D1E#FFFFFF#000000##000000
##8D9D1E1.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)
#A7952B
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d1e;
/* rgb */ color: rgb(141, 157, 30);
/* oklch */ color: oklch(66.1% 0.143 117.0);
Tailwind
colors: {
  custom: {
    50: '#b2b966',
    500: '#8d9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d1e;
$custom-light: #b2b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d1e",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 67.559,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66116,
    "c": 0.1432,
    "h": 117
  },
  "luminance": 0.2987
}

Semantic roles & 50–950 ramp

primary
#8D9D1E
secondary
#6254C2
accent
#3DEB53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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