#8D9B1C#8D9B1C

#8D9B1C 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#8D9B1C
RGBrgb(141, 155, 28)
HSLhsl(67, 69%, 36%)
HSVhsv(67, 82%, 61%)
CMYKcmyk(9%, 0%, 81.9%, 39.2%)
CIE-LABlab(60.95, -20.48, 58.63)
CIE-LCHlch(60.95, 62.10, 109.25°)
OKLaboklab(65.64% -0.0626 0.1273)
OKLCHoklch(65.64% 0.142 116.2)
XYZxyz(22.9161, 29.1896, 5.5253)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B1C #2A1C9B
analogous
#9B691C #8D9B1C #4D9B1C
triadic
#8D9B1C #1C8D9B #9B1C8D
tetradic
#8D9B1C #1C9B69 #2A1C9B #9B1C4D
square
#8D9B1C #1C9B69 #2A1C9B #9B1C4D
split-complementary
#8D9B1C #1C4D9B #691C9B
monochromatic
#2F3309 #5E6713 #8D9B1C #BCCF25 #D0E052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9B1C#FFFFFF#000000##000000
##8D9B1C1.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)
#A59429
Tritanopia (blue-blind)
#969284
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9b1c;
/* rgb */ color: rgb(141, 155, 28);
/* oklch */ color: oklch(65.6% 0.142 116.2);
Tailwind
colors: {
  custom: {
    50: '#b2b865',
    500: '#8d9b1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b1c;
$custom-light: #b2b865;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b1c",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 28
  },
  "hsl": {
    "h": 66.614,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65636,
    "c": 0.14188,
    "h": 116.2
  },
  "luminance": 0.29189
}

Semantic roles & 50–950 ramp

primary
#8D9B1C
secondary
#5D50C3
accent
#3CEC4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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