#8D9F2A#8D9F2A

#8D9F2A is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.7% C 0.139 H 118.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8D9F2A
RGBrgb(141, 159, 42)
HSLhsl(69, 58%, 39%)
HSVhsv(69, 74%, 62%)
CMYKcmyk(11.3%, 0%, 73.6%, 37.6%)
CIE-LABlab(62.19, -21.88, 55.28)
CIE-LCHlch(62.19, 59.45, 111.59°)
OKLaboklab(66.66% -0.0654 0.1227)
OKLCHoklch(66.66% 0.139 118)
XYZxyz(23.8011, 30.6264, 6.8477)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F2A #3C2A9F
analogous
#9F772A #8D9F2A #539F2A
triadic
#8D9F2A #2A8D9F #9F2A8D
tetradic
#8D9F2A #2A9F77 #3C2A9F #9F2A53
square
#8D9F2A #2A9F77 #3C2A9F #9F2A53
split-complementary
#8D9F2A #2A539F #772A9F
monochromatic
#373E10 #626F1D #8D9F2A #B5CB3B #C7D86B

Accessibility & contrast

On white

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

On black

7.13
#8D9F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F2A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F2A#FFFFFF#000000##000000
##8D9F2A1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9613
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#969688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f2a;
/* rgb */ color: rgb(141, 159, 42);
/* oklch */ color: oklch(66.7% 0.139 118.0);
Tailwind
colors: {
  custom: {
    50: '#b1bb6c',
    500: '#8d9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f2a;
$custom-light: #b1bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f2a",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 69.231,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66657,
    "c": 0.139,
    "h": 118
  },
  "luminance": 0.30626
}

Semantic roles & 50–950 ramp

primary
#8D9F2A
secondary
#7466BF
accent
#46E15E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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