#8D9A2F#8D9A2F

#8D9A2F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.130 H 116.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8D9A2F
RGBrgb(141, 154, 47)
HSLhsl(67, 53%, 39%)
HSVhsv(67, 69%, 60%)
CMYKcmyk(8.4%, 0%, 69.5%, 39.6%)
CIE-LABlab(60.76, -19.06, 51.97)
CIE-LCHlch(60.76, 55.36, 110.14°)
OKLaboklab(65.52% -0.0571 0.1166)
OKLCHoklch(65.52% 0.13 116.1)
XYZxyz(23.0537, 28.9795, 7.0679)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A2F #3C2F9A
analogous
#9A722F #8D9A2F #579A2F
triadic
#8D9A2F #2F8D9A #9A2F8D
tetradic
#8D9A2F #2F9A72 #3C2F9A #9A2F57
square
#8D9A2F #2F9A72 #3C2F9A #9A2F57
split-complementary
#8D9A2F #2F579A #722F9A
monochromatic
#373C12 #626B21 #8D9A2F #B5C541 #C7D370

Accessibility & contrast

On white

3.09
#8D9A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8D9A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A2F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A2F#FFFFFF#000000##000000
##8D9A2F1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921E
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#969185
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9a2f;
/* rgb */ color: rgb(141, 154, 47);
/* oklch */ color: oklch(65.5% 0.130 116.1);
Tailwind
colors: {
  custom: {
    50: '#b1b76e',
    500: '#8d9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a2f;
$custom-light: #b1b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a2f",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 67.29,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65521,
    "c": 0.12979,
    "h": 116.1
  },
  "luminance": 0.28979
}

Semantic roles & 50–950 ramp

primary
#8D9A2F
secondary
#746ABB
accent
#4BDD5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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