#8D9C1F#8D9C1F

#8D9C1F is a light, vivid yellow. Relative luminance 0.295; OKLCH L 65.9% C 0.142 H 116.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D9C1F
RGBrgb(141, 156, 31)
HSLhsl(67, 67%, 37%)
HSVhsv(67, 80%, 61%)
CMYKcmyk(9.6%, 0%, 80.1%, 38.8%)
CIE-LABlab(61.25, -20.87, 58.03)
CIE-LCHlch(61.25, 61.67, 109.78°)
OKLaboklab(65.89% -0.0635 0.1266)
OKLCHoklch(65.89% 0.142 116.6)
XYZxyz(23.1209, 29.5389, 5.7796)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C1F #2E1F9C
analogous
#9C6D1F #8D9C1F #4F9C1F
triadic
#8D9C1F #1F8D9C #9C1F8D
tetradic
#8D9C1F #1F9C6D #2E1F9C #9C1F4F
square
#8D9C1F #1F9C6D #2E1F9C #9C1F4F
split-complementary
#8D9C1F #1F4F9C #6D1F9C
monochromatic
#31360B #5F6915 #8D9C1F #BBCF29 #CEDE58

Accessibility & contrast

On white

3.04
#8D9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8D9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C1F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C1F#FFFFFF#000000##000000
##8D9C1F1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A6952B
Tritanopia (blue-blind)
#969385
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c1f;
/* rgb */ color: rgb(141, 156, 31);
/* oklch */ color: oklch(65.9% 0.142 116.6);
Tailwind
colors: {
  custom: {
    50: '#b2b967',
    500: '#8d9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c1f;
$custom-light: #b2b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c1f",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 67.2,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65886,
    "c": 0.14161,
    "h": 116.6
  },
  "luminance": 0.29539
}

Semantic roles & 50–950 ramp

primary
#8D9C1F
secondary
#6255C1
accent
#3EEA53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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