#8D9C2E#8D9C2E

#8D9C2E is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.0% C 0.133 H 116.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D9C2E
RGBrgb(141, 156, 46)
HSLhsl(68, 54%, 40%)
HSVhsv(68, 71%, 61%)
CMYKcmyk(9.6%, 0%, 70.5%, 38.8%)
CIE-LABlab(61.34, -20.14, 52.94)
CIE-LCHlch(61.34, 56.64, 110.82°)
OKLaboklab(65.98% -0.0602 0.1185)
OKLCHoklch(65.98% 0.133 116.9)
XYZxyz(23.3667, 29.6372, 7.0738)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C2E #3D2E9C
analogous
#9C742E #8D9C2E #569C2E
triadic
#8D9C2E #2E8D9C #9C2E8D
tetradic
#8D9C2E #2E9C74 #3D2E9C #9C2E56
square
#8D9C2E #2E9C74 #3D2E9C #9C2E56
split-complementary
#8D9C2E #2E569C #742E9C
monochromatic
#383D12 #626D20 #8D9C2E #B4C740 #C7D570

Accessibility & contrast

On white

3.03
#8D9C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8D9C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C2E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C2E#FFFFFF#000000##000000
##8D9C2E1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#969386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c2e;
/* rgb */ color: rgb(141, 156, 46);
/* oklch */ color: oklch(66.0% 0.133 116.9);
Tailwind
colors: {
  custom: {
    50: '#b1b96e',
    500: '#8d9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c2e;
$custom-light: #b1b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c2e",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 68.182,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.13285,
    "h": 116.9
  },
  "luminance": 0.29637
}

Semantic roles & 50–950 ramp

primary
#8D9C2E
secondary
#756ABC
accent
#4ADE5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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