#8D9F1B#8D9F1B

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

Color values

HEX#8D9F1B
RGBrgb(141, 159, 27)
HSLhsl(68, 71%, 36%)
HSVhsv(68, 83%, 62%)
CMYKcmyk(11.3%, 0%, 83%, 37.6%)
CIE-LABlab(62.12, -22.53, 59.91)
CIE-LCHlch(62.12, 64.01, 110.61°)
OKLaboklab(66.57% -0.0683 0.1299)
OKLCHoklch(66.57% 0.147 117.8)
XYZxyz(23.5811, 30.5384, 5.6889)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F1B #2D1B9F
analogous
#9F6F1B #8D9F1B #4B9F1B
triadic
#8D9F1B #1B8D9F #9F1B8D
tetradic
#8D9F1B #1B9F6F #2D1B9F #9F1B4B
square
#8D9F1B #1B9F6F #2D1B9F #9F1B4B
split-complementary
#8D9F1B #1B4B9F #6F1B9F
monochromatic
#303609 #5F6B12 #8D9F1B #BBD324 #CEE253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9F1B#FFFFFF#000000##000000
##8D9F1B1.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)
#A89729
Tritanopia (blue-blind)
#969688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f1b;
/* rgb */ color: rgb(141, 159, 27);
/* oklch */ color: oklch(66.6% 0.147 117.8);
Tailwind
colors: {
  custom: {
    50: '#b2bb66',
    500: '#8d9f1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f1b;
$custom-light: #b2bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f1b",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 68.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66573,
    "c": 0.14677,
    "h": 117.8
  },
  "luminance": 0.30538
}

Semantic roles & 50–950 ramp

primary
#8D9F1B
secondary
#6151C5
accent
#3AEE53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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