#8D9D3B#8D9D3B

#8D9D3B is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.3% C 0.124 H 117.8°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D9D3B
RGBrgb(141, 157, 59)
HSLhsl(70, 45%, 42%)
HSVhsv(70, 62%, 62%)
CMYKcmyk(10.2%, 0%, 62.4%, 38.4%)
CIE-LABlab(61.73, -19.77, 47.92)
CIE-LCHlch(61.73, 51.84, 112.42°)
OKLaboklab(66.33% -0.0578 0.1098)
OKLCHoklch(66.33% 0.124 117.8)
XYZxyz(23.8313, 30.0926, 8.6898)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D3B #4B3B9D
analogous
#9D7C3B #8D9D3B #5C9D3B
triadic
#8D9D3B #3B8D9D #9D3B8D
tetradic
#8D9D3B #3B9D7C #4B3B9D #9D3B5C
square
#8D9D3B #3B9D7C #4B3B9D #9D3B5C
split-complementary
#8D9D3B #3B5C9D #7C3B9D
monochromatic
#3D441A #65712A #8D9D3B #AEBF56 #C3D082

Accessibility & contrast

On white

2.99
#8D9D3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#8D9D3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9D3B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D3B#FFFFFF#000000##000000
##8D9D3B1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7952F
Deuteranopia (green-blind)
#A59642
Tritanopia (blue-blind)
#959588
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d3b;
/* rgb */ color: rgb(141, 157, 59);
/* oklch */ color: oklch(66.3% 0.124 117.8);
Tailwind
colors: {
  custom: {
    50: '#b1b975',
    500: '#8d9d3b',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d3b;
$custom-light: #b1b975;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d3b",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 59
  },
  "hsl": {
    "h": 69.796,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66331,
    "c": 0.12413,
    "h": 117.8
  },
  "luminance": 0.30092
}

Semantic roles & 50–950 ramp

primary
#8D9D3B
secondary
#847ABA
accent
#53D568
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8D9D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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