#8D9E2F#8D9E2F

#8D9E2F is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.5% C 0.135 H 117.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8D9E2F
RGBrgb(141, 158, 47)
HSLhsl(69, 54%, 40%)
HSVhsv(69, 70%, 62%)
CMYKcmyk(10.8%, 0%, 70.3%, 38%)
CIE-LABlab(61.93, -21.09, 53.15)
CIE-LCHlch(61.93, 57.18, 111.65°)
OKLaboklab(66.46% -0.0627 0.1191)
OKLCHoklch(66.46% 0.135 117.8)
XYZxyz(23.7250, 30.3219, 7.2917)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E2F #402F9E
analogous
#9E772F #8D9E2F #569E2F
triadic
#8D9E2F #2F8D9E #9E2F8D
tetradic
#8D9E2F #2F9E77 #402F9E #9E2F56
square
#8D9E2F #2F9E77 #402F9E #9E2F56
split-complementary
#8D9E2F #2F569E #772F9E
monochromatic
#394013 #636F21 #8D9E2F #B3C743 #C6D572

Accessibility & contrast

On white

2.97
#8D9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8D9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9E2F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9E2F#FFFFFF#000000##000000
##8D9E2F1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9951D
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#969588
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9e2f;
/* rgb */ color: rgb(141, 158, 47);
/* oklch */ color: oklch(66.5% 0.135 117.8);
Tailwind
colors: {
  custom: {
    50: '#b1ba6f',
    500: '#8d9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e2f;
$custom-light: #b1ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e2f",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 69.189,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.13456,
    "h": 117.8
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#8D9E2F
secondary
#786CBD
accent
#4ADE61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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