#8D9E1F#8D9E1F

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

Color values

HEX#8D9E1F
RGBrgb(141, 158, 31)
HSLhsl(68, 67%, 37%)
HSVhsv(68, 80%, 62%)
CMYKcmyk(10.8%, 0%, 80.4%, 38%)
CIE-LABlab(61.84, -21.88, 58.56)
CIE-LCHlch(61.84, 62.51, 110.49°)
OKLaboklab(66.36% -0.0663 0.1277)
OKLCHoklch(66.36% 0.144 117.4)
XYZxyz(23.4593, 30.2156, 5.8924)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E1F #301F9E
analogous
#9E6F1F #8D9E1F #4E9E1F
triadic
#8D9E1F #1F8D9E #9E1F8D
tetradic
#8D9E1F #1F9E6F #301F9E #9E1F4E
square
#8D9E1F #1F9E6F #301F9E #9E1F4E
split-complementary
#8D9E1F #1F4E9E #6F1F9E
monochromatic
#32380B #5F6B15 #8D9E1F #BBD129 #CDDE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d9e1f;
/* rgb */ color: rgb(141, 158, 31);
/* oklch */ color: oklch(66.4% 0.144 117.4);
Tailwind
colors: {
  custom: {
    50: '#b2ba67',
    500: '#8d9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e1f;
$custom-light: #b2ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e1f",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 68.031,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66356,
    "c": 0.14387,
    "h": 117.4
  },
  "luminance": 0.30215
}

Semantic roles & 50–950 ramp

primary
#8D9E1F
secondary
#6556C2
accent
#3EEA55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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