#8D9F1F#8D9F1F

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

Color values

HEX#8D9F1F
RGBrgb(141, 159, 31)
HSLhsl(68, 67%, 37%)
HSVhsv(68, 81%, 62%)
CMYKcmyk(11.3%, 0%, 80.5%, 37.6%)
CIE-LABlab(62.13, -22.38, 58.82)
CIE-LCHlch(62.13, 62.93, 110.83°)
OKLaboklab(66.59% -0.0677 0.1282)
OKLCHoklch(66.59% 0.145 117.8)
XYZxyz(23.6306, 30.5582, 5.9495)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F1F #311F9F
analogous
#9F711F #8D9F1F #4D9F1F
triadic
#8D9F1F #1F8D9F #9F1F8D
tetradic
#8D9F1F #1F9F71 #311F9F #9F1F4D
square
#8D9F1F #1F9F71 #311F9F #9F1F4D
split-complementary
#8D9F1F #1F4D9F #711F9F
monochromatic
#32390B #606C15 #8D9F1F #BAD229 #CCDF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d9f1f;
/* rgb */ color: rgb(141, 159, 31);
/* oklch */ color: oklch(66.6% 0.145 117.8);
Tailwind
colors: {
  custom: {
    50: '#b2bb67',
    500: '#8d9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f1f;
$custom-light: #b2bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f1f",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 68.438,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66592,
    "c": 0.14499,
    "h": 117.8
  },
  "luminance": 0.30558
}

Semantic roles & 50–950 ramp

primary
#8D9F1F
secondary
#6657C3
accent
#3EEA56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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