#8D9B1B#8D9B1B

#8D9B1B is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.6% C 0.142 H 116.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8D9B1B
RGBrgb(141, 155, 27)
HSLhsl(67, 70%, 36%)
HSVhsv(67, 83%, 61%)
CMYKcmyk(9%, 0%, 82.6%, 39.2%)
CIE-LABlab(60.94, -20.51, 58.90)
CIE-LCHlch(60.94, 62.37, 109.20°)
OKLaboklab(65.63% -0.0628 0.1277)
OKLCHoklch(65.63% 0.142 116.2)
XYZxyz(22.9043, 29.1849, 5.4634)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B1B #291B9B
analogous
#9B691B #8D9B1B #4D9B1B
triadic
#8D9B1B #1B8D9B #9B1B8D
tetradic
#8D9B1B #1B9B69 #291B9B #9B1B4D
square
#8D9B1B #1B9B69 #291B9B #9B1B4D
split-complementary
#8D9B1B #1B4D9B #691B9B
monochromatic
#2E3309 #5E6712 #8D9B1B #BCCF24 #D1E050

Accessibility & contrast

On white

3.07
#8D9B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#8D9B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9B1B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9B1B#FFFFFF#000000##000000
##8D9B1B1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A59428
Tritanopia (blue-blind)
#979284
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9b1b;
/* rgb */ color: rgb(141, 155, 27);
/* oklch */ color: oklch(65.6% 0.142 116.2);
Tailwind
colors: {
  custom: {
    50: '#b2b865',
    500: '#8d9b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b1b;
$custom-light: #b2b865;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b1b",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 27
  },
  "hsl": {
    "h": 66.563,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65631,
    "c": 0.14231,
    "h": 116.2
  },
  "luminance": 0.29185
}

Semantic roles & 50–950 ramp

primary
#8D9B1B
secondary
#5B4FC3
accent
#3BED4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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