#8D9B2F#8D9B2F

#8D9B2F is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.8% C 0.131 H 116.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8D9B2F
RGBrgb(141, 155, 47)
HSLhsl(68, 53%, 40%)
HSVhsv(68, 70%, 61%)
CMYKcmyk(9%, 0%, 69.7%, 39.2%)
CIE-LABlab(61.05, -19.57, 52.27)
CIE-LCHlch(61.05, 55.81, 110.53°)
OKLaboklab(65.76% -0.0585 0.1172)
OKLCHoklch(65.76% 0.131 116.5)
XYZxyz(23.2195, 29.3109, 7.1232)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B2F #3D2F9B
analogous
#9B732F #8D9B2F #579B2F
triadic
#8D9B2F #2F8D9B #9B2F8D
tetradic
#8D9B2F #2F9B73 #3D2F9B #9B2F57
square
#8D9B2F #2F9B73 #3D2F9B #9B2F57
split-complementary
#8D9B2F #2F579B #732F9B
monochromatic
#383D13 #626C21 #8D9B2F #B4C642 #C7D471

Accessibility & contrast

On white

3.06
#8D9B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8D9B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9B2F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9B2F#FFFFFF#000000##000000
##8D9B2F1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#969286
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9b2f;
/* rgb */ color: rgb(141, 155, 47);
/* oklch */ color: oklch(65.8% 0.131 116.5);
Tailwind
colors: {
  custom: {
    50: '#b1b86e',
    500: '#8d9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b2f;
$custom-light: #b1b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b2f",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 67.778,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65755,
    "c": 0.13098,
    "h": 116.5
  },
  "luminance": 0.29311
}

Semantic roles & 50–950 ramp

primary
#8D9B2F
secondary
#756ABB
accent
#4BDD5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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