#8D9B1F#8D9B1F

#8D9B1F is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.7% C 0.140 H 116.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8D9B1F
RGBrgb(141, 155, 31)
HSLhsl(67, 67%, 36%)
HSVhsv(67, 80%, 61%)
CMYKcmyk(9%, 0%, 80%, 39.2%)
CIE-LABlab(60.96, -20.36, 57.77)
CIE-LCHlch(60.96, 61.25, 109.42°)
OKLaboklab(65.65% -0.0621 0.126)
OKLCHoklch(65.65% 0.14 116.2)
XYZxyz(22.9538, 29.2047, 5.7239)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B1F #2D1F9B
analogous
#9B6B1F #8D9B1F #4F9B1F
triadic
#8D9B1F #1F8D9B #9B1F8D
tetradic
#8D9B1F #1F9B6B #2D1F9B #9B1F4F
square
#8D9B1F #1F9B6B #2D1F9B #9B1F4F
split-complementary
#8D9B1F #1F4F9B #6B1F9B
monochromatic
#30350B #5F6815 #8D9B1F #BBCE29 #CEDD57

Accessibility & contrast

On white

3.07
#8D9B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#8D9B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9B1F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9B1F#FFFFFF#000000##000000
##8D9B1F1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#969284
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9b1f;
/* rgb */ color: rgb(141, 155, 31);
/* oklch */ color: oklch(65.7% 0.140 116.2);
Tailwind
colors: {
  custom: {
    50: '#b2b867',
    500: '#8d9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b1f;
$custom-light: #b2b867;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b1f",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 66.774,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65651,
    "c": 0.14049,
    "h": 116.2
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#8D9B1F
secondary
#6155C1
accent
#3EEA52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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