#8D9F1D#8D9F1D

#8D9F1D is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.6% C 0.146 H 117.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D9F1D
RGBrgb(141, 159, 29)
HSLhsl(68, 69%, 37%)
HSVhsv(68, 82%, 62%)
CMYKcmyk(11.3%, 0%, 81.8%, 37.6%)
CIE-LABlab(62.12, -22.46, 59.38)
CIE-LCHlch(62.12, 63.48, 110.72°)
OKLaboklab(66.58% -0.068 0.1291)
OKLCHoklch(66.58% 0.146 117.8)
XYZxyz(23.6050, 30.5480, 5.8150)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F1D #2F1D9F
analogous
#9F701D #8D9F1D #4C9F1D
triadic
#8D9F1D #1D8D9F #9F1D8D
tetradic
#8D9F1D #1D9F70 #2F1D9F #9F1D4C
square
#8D9F1D #1D9F70 #2F1D9F #9F1D4C
split-complementary
#8D9F1D #1D4C9F #701D9F
monochromatic
#31370A #5F6B14 #8D9F1D #BBD326 #CDE056

Accessibility & contrast

On white

2.95
#8D9F1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#8D9F1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F1D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F1D#FFFFFF#000000##000000
##8D9F1D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A8972A
Tritanopia (blue-blind)
#969688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f1d;
/* rgb */ color: rgb(141, 159, 29);
/* oklch */ color: oklch(66.6% 0.146 117.8);
Tailwind
colors: {
  custom: {
    50: '#b2bb66',
    500: '#8d9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f1d;
$custom-light: #b2bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f1d",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 68.308,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66582,
    "c": 0.14591,
    "h": 117.8
  },
  "luminance": 0.30548
}

Semantic roles & 50–950 ramp

primary
#8D9F1D
secondary
#6454C4
accent
#3CEC54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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