#8D9F1C#8D9F1C

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

Color values

HEX#8D9F1C
RGBrgb(141, 159, 28)
HSLhsl(68, 70%, 37%)
HSVhsv(68, 82%, 62%)
CMYKcmyk(11.3%, 0%, 82.4%, 37.6%)
CIE-LABlab(62.12, -22.49, 59.65)
CIE-LCHlch(62.12, 63.75, 110.66°)
OKLaboklab(66.58% -0.0682 0.1295)
OKLCHoklch(66.58% 0.146 117.8)
XYZxyz(23.5928, 30.5431, 5.7509)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F1C #2E1C9F
analogous
#9F701C #8D9F1C #4C9F1C
triadic
#8D9F1C #1C8D9F #9F1C8D
tetradic
#8D9F1C #1C9F70 #2E1C9F #9F1C4C
square
#8D9F1C #1C9F70 #2E1C9F #9F1C4C
split-complementary
#8D9F1C #1C4C9F #701C9F
monochromatic
#31370A #5F6B13 #8D9F1C #BBD325 #CEE154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d9f1c;
/* rgb */ color: rgb(141, 159, 28);
/* oklch */ color: oklch(66.6% 0.146 117.8);
Tailwind
colors: {
  custom: {
    50: '#b2bb66',
    500: '#8d9f1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f1c;
$custom-light: #b2bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f1c",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 68.244,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.14635,
    "h": 117.8
  },
  "luminance": 0.30543
}

Semantic roles & 50–950 ramp

primary
#8D9F1C
secondary
#6253C4
accent
#3BED53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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