#8D9F2D#8D9F2D

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

Color values

HEX#8D9F2D
RGBrgb(141, 159, 45)
HSLhsl(69, 56%, 40%)
HSVhsv(69, 72%, 62%)
CMYKcmyk(11.3%, 0%, 71.7%, 37.6%)
CIE-LABlab(62.21, -21.71, 54.19)
CIE-LCHlch(62.21, 58.38, 111.83°)
OKLaboklab(66.68% -0.0646 0.1209)
OKLCHoklch(66.68% 0.137 118.1)
XYZxyz(23.8568, 30.6487, 7.1411)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F2D #3F2D9F
analogous
#9F782D #8D9F2D #549F2D
triadic
#8D9F2D #2D8D9F #9F2D8D
tetradic
#8D9F2D #2D9F78 #3F2D9F #9F2D54
square
#8D9F2D #2D9F78 #3F2D9F #9F2D54
split-complementary
#8D9F2D #2D549F #782D9F
monochromatic
#384012 #636F20 #8D9F2D #B3C940 #C6D670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9F2D#FFFFFF#000000##000000
##8D9F2D1.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)
#AA9619
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#969689
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f2d;
/* rgb */ color: rgb(141, 159, 45);
/* oklch */ color: oklch(66.7% 0.137 118.1);
Tailwind
colors: {
  custom: {
    50: '#b1bb6e',
    500: '#8d9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f2d;
$custom-light: #b1bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f2d",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 69.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.1371,
    "h": 118.1
  },
  "luminance": 0.30648
}

Semantic roles & 50–950 ramp

primary
#8D9F2D
secondary
#776ABE
accent
#49DF60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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