#8D9D1B#8D9D1B

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

Color values

HEX#8D9D1B
RGBrgb(141, 157, 27)
HSLhsl(67, 71%, 36%)
HSVhsv(67, 83%, 62%)
CMYKcmyk(10.2%, 0%, 82.8%, 38.4%)
CIE-LABlab(61.53, -21.52, 59.41)
CIE-LCHlch(61.53, 63.18, 109.92°)
OKLaboklab(66.1% -0.0656 0.1288)
OKLCHoklch(66.1% 0.145 117)
XYZxyz(23.2399, 29.8561, 5.5752)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D1B #2B1B9D
analogous
#9D6C1B #8D9D1B #4C9D1B
triadic
#8D9D1B #1B8D9D #9D1B8D
tetradic
#8D9D1B #1B9D6C #2B1B9D #9D1B4C
square
#8D9D1B #1B9D6C #2B1B9D #9D1B4C
split-complementary
#8D9D1B #1B4C9D #6C1B9D
monochromatic
#2F3509 #5E6912 #8D9D1B #BCD124 #CFE151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9D1B#FFFFFF#000000##000000
##8D9D1B1.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: #8d9d1b;
/* rgb */ color: rgb(141, 157, 27);
/* oklch */ color: oklch(66.1% 0.145 117.0);
Tailwind
colors: {
  custom: {
    50: '#b2b965',
    500: '#8d9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d1b;
$custom-light: #b2b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d1b",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 67.385,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66102,
    "c": 0.14454,
    "h": 117
  },
  "luminance": 0.29856
}

Semantic roles & 50–950 ramp

primary
#8D9D1B
secondary
#5E50C4
accent
#3AED50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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