#8D9E1C#8D9E1C

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

Color values

HEX#8D9E1C
RGBrgb(141, 158, 28)
HSLhsl(68, 70%, 36%)
HSVhsv(68, 82%, 62%)
CMYKcmyk(10.8%, 0%, 82.3%, 38%)
CIE-LABlab(61.83, -21.99, 59.39)
CIE-LCHlch(61.83, 63.33, 110.32°)
OKLaboklab(66.34% -0.0668 0.129)
OKLCHoklch(66.34% 0.145 117.4)
XYZxyz(23.4216, 30.2006, 5.6938)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E1C #2D1C9E
analogous
#9E6E1C #8D9E1C #4C9E1C
triadic
#8D9E1C #1C8D9E #9E1C8D
tetradic
#8D9E1C #1C9E6E #2D1C9E #9E1C4C
square
#8D9E1C #1C9E6E #2D1C9E #9E1C4C
split-complementary
#8D9E1C #1C4C9E #6E1C9E
monochromatic
#30360A #5F6A13 #8D9E1C #BBD225 #CEE154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9E1C#FFFFFF#000000##000000
##8D9E1C1.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)
#A8962A
Tritanopia (blue-blind)
#969587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9e1c;
/* rgb */ color: rgb(141, 158, 28);
/* oklch */ color: oklch(66.3% 0.145 117.4);
Tailwind
colors: {
  custom: {
    50: '#b2ba66',
    500: '#8d9e1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e1c;
$custom-light: #b2ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e1c",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 67.846,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66342,
    "c": 0.14523,
    "h": 117.4
  },
  "luminance": 0.302
}

Semantic roles & 50–950 ramp

primary
#8D9E1C
secondary
#6152C4
accent
#3BED52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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