#8D9E1B#8D9E1B

#8D9E1B is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.3% C 0.146 H 117.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D9E1B
RGBrgb(141, 158, 27)
HSLhsl(68, 71%, 36%)
HSVhsv(68, 83%, 62%)
CMYKcmyk(10.8%, 0%, 82.9%, 38%)
CIE-LABlab(61.82, -22.03, 59.66)
CIE-LCHlch(61.82, 63.60, 110.26°)
OKLaboklab(66.34% -0.067 0.1293)
OKLCHoklch(66.34% 0.146 117.4)
XYZxyz(23.4098, 30.1959, 5.6319)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E1B #2C1B9E
analogous
#9E6E1B #8D9E1B #4C9E1B
triadic
#8D9E1B #1B8D9E #9E1B8D
tetradic
#8D9E1B #1B9E6E #2C1B9E #9E1B4C
square
#8D9E1B #1B9E6E #2C1B9E #9E1B4C
split-complementary
#8D9E1B #1B4C9E #6E1B9E
monochromatic
#303509 #5E6A12 #8D9E1B #BCD224 #CFE152

Accessibility & contrast

On white

2.98
#8D9E1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#8D9E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9E1B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9E1B#FFFFFF#000000##000000
##8D9E1B1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A89629
Tritanopia (blue-blind)
#969587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9e1b;
/* rgb */ color: rgb(141, 158, 27);
/* oklch */ color: oklch(66.3% 0.146 117.4);
Tailwind
colors: {
  custom: {
    50: '#b2ba65',
    500: '#8d9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e1b;
$custom-light: #b2ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e1b",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 67.786,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66337,
    "c": 0.14565,
    "h": 117.4
  },
  "luminance": 0.30196
}

Semantic roles & 50–950 ramp

primary
#8D9E1B
secondary
#6051C4
accent
#3AEE51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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