#8D9F2F#8D9F2F

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

Color values

HEX#8D9F2F
RGBrgb(141, 159, 47)
HSLhsl(70, 54%, 40%)
HSVhsv(70, 70%, 62%)
CMYKcmyk(11.3%, 0%, 70.4%, 37.6%)
CIE-LABlab(62.22, -21.60, 53.44)
CIE-LCHlch(62.22, 57.64, 112.01°)
OKLaboklab(66.69% -0.0641 0.1197)
OKLCHoklch(66.69% 0.136 118.2)
XYZxyz(23.8962, 30.6644, 7.3487)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F2F #412F9F
analogous
#9F792F #8D9F2F #559F2F
triadic
#8D9F2F #2F8D9F #9F2F8D
tetradic
#8D9F2F #2F9F79 #412F9F #9F2F55
square
#8D9F2F #2F9F79 #412F9F #9F2F55
split-complementary
#8D9F2F #2F559F #792F9F
monochromatic
#394113 #637021 #8D9F2F #B2C844 #C6D673

Accessibility & contrast

On white

2.94
#8D9F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9F2F#FFFFFF#000000##000000
##8D9F2F1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961D
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#959689
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f2f;
/* rgb */ color: rgb(141, 159, 47);
/* oklch */ color: oklch(66.7% 0.136 118.2);
Tailwind
colors: {
  custom: {
    50: '#b1bb6f',
    500: '#8d9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f2f;
$custom-light: #b1bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f2f",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 69.643,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66694,
    "c": 0.13576,
    "h": 118.2
  },
  "luminance": 0.30664
}

Semantic roles & 50–950 ramp

primary
#8D9F2F
secondary
#796DBD
accent
#4ADE62
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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