#8D9D1F#8D9D1F

#8D9D1F is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.143 H 117.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D9D1F
RGBrgb(141, 157, 31)
HSLhsl(68, 67%, 37%)
HSVhsv(68, 80%, 62%)
CMYKcmyk(10.2%, 0%, 80.3%, 38.4%)
CIE-LABlab(61.55, -21.38, 58.30)
CIE-LCHlch(61.55, 62.09, 110.14°)
OKLaboklab(66.12% -0.0649 0.1271)
OKLCHoklch(66.12% 0.143 117)
XYZxyz(23.2894, 29.8759, 5.8358)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D1F #2F1F9D
analogous
#9D6E1F #8D9D1F #4E9D1F
triadic
#8D9D1F #1F8D9D #9D1F8D
tetradic
#8D9D1F #1F9D6E #2F1F9D #9D1F4E
square
#8D9D1F #1F9D6E #2F1F9D #9D1F4E
split-complementary
#8D9D1F #1F4E9D #6E1F9D
monochromatic
#31370B #5F6A15 #8D9D1F #BBD029 #CDDE58

Accessibility & contrast

On white

3.01
#8D9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D9D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D1F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D1F#FFFFFF#000000##000000
##8D9D1F1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A7952B
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d1f;
/* rgb */ color: rgb(141, 157, 31);
/* oklch */ color: oklch(66.1% 0.143 117.0);
Tailwind
colors: {
  custom: {
    50: '#b2b967',
    500: '#8d9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d1f;
$custom-light: #b2b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d1f",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 67.619,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.14273,
    "h": 117
  },
  "luminance": 0.29876
}

Semantic roles & 50–950 ramp

primary
#8D9D1F
secondary
#6456C2
accent
#3EEA54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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