#8D9C2F#8D9C2F

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

Color values

HEX#8D9C2F
RGBrgb(141, 156, 47)
HSLhsl(68, 54%, 40%)
HSVhsv(68, 70%, 61%)
CMYKcmyk(9.6%, 0%, 69.9%, 38.8%)
CIE-LABlab(61.35, -20.08, 52.56)
CIE-LCHlch(61.35, 56.26, 110.91°)
OKLaboklab(65.99% -0.0599 0.1178)
OKLCHoklch(65.99% 0.132 117)
XYZxyz(23.3866, 29.6452, 7.1789)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C2F #3E2F9C
analogous
#9C752F #8D9C2F #569C2F
triadic
#8D9C2F #2F8D9C #9C2F8D
tetradic
#8D9C2F #2F9C75 #3E2F9C #9C2F56
square
#8D9C2F #2F9C75 #3E2F9C #9C2F56
split-complementary
#8D9C2F #2F569C #752F9C
monochromatic
#383E13 #626D21 #8D9C2F #B4C642 #C7D471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9C2F#FFFFFF#000000##000000
##8D9C2F1.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)
#A7941E
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#969386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c2f;
/* rgb */ color: rgb(141, 156, 47);
/* oklch */ color: oklch(66.0% 0.132 117.0);
Tailwind
colors: {
  custom: {
    50: '#b1b96e',
    500: '#8d9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c2f;
$custom-light: #b1b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c2f",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 68.257,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65989,
    "c": 0.13216,
    "h": 117
  },
  "luminance": 0.29645
}

Semantic roles & 50–950 ramp

primary
#8D9C2F
secondary
#766BBC
accent
#4BDD5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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