#8D9A1F#8D9A1F

#8D9A1F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.4% C 0.139 H 115.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8D9A1F
RGBrgb(141, 154, 31)
HSLhsl(66, 66%, 36%)
HSVhsv(66, 80%, 60%)
CMYKcmyk(8.4%, 0%, 79.9%, 39.6%)
CIE-LABlab(60.67, -19.85, 57.51)
CIE-LCHlch(60.67, 60.84, 109.05°)
OKLaboklab(65.42% -0.0607 0.1255)
OKLCHoklch(65.42% 0.139 115.8)
XYZxyz(22.7881, 28.8732, 5.6687)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A1F #2C1F9A
analogous
#9A6A1F #8D9A1F #509A1F
triadic
#8D9A1F #1F8D9A #9A1F8D
tetradic
#8D9A1F #1F9A6A #2C1F9A #9A1F50
square
#8D9A1F #1F9A6A #2C1F9A #9A1F50
split-complementary
#8D9A1F #1F509A #6A1F9A
monochromatic
#30340A #5E6715 #8D9A1F #BCCD29 #CFDD56

Accessibility & contrast

On white

3.10
#8D9A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#8D9A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A1F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A1F#FFFFFF#000000##000000
##8D9A1F1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#969183
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9a1f;
/* rgb */ color: rgb(141, 154, 31);
/* oklch */ color: oklch(65.4% 0.139 115.8);
Tailwind
colors: {
  custom: {
    50: '#b2b766',
    500: '#8d9a1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a1f;
$custom-light: #b2b766;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a1f",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 66.341,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.13937,
    "h": 115.8
  },
  "luminance": 0.28873
}

Semantic roles & 50–950 ramp

primary
#8D9A1F
secondary
#6054C1
accent
#3EE950
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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