#8F9D2E#8F9D2E

#8F9D2E is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.4% C 0.133 H 116.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F9D2E
RGBrgb(143, 157, 46)
HSLhsl(68, 55%, 40%)
HSVhsv(68, 71%, 62%)
CMYKcmyk(8.9%, 0%, 70.7%, 38.4%)
CIE-LABlab(61.78, -19.78, 53.44)
CIE-LCHlch(61.78, 56.98, 110.31°)
OKLaboklab(66.38% -0.0593 0.1194)
OKLCHoklch(66.38% 0.133 116.4)
XYZxyz(23.8784, 30.1512, 7.1461)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D2E #3C2E9D
analogous
#9D742E #8F9D2E #579D2E
triadic
#8F9D2E #2E8F9D #9D2E8F
tetradic
#8F9D2E #2E9D74 #3C2E9D #9D2E57
square
#8F9D2E #2E9D74 #3C2E9D #9D2E57
split-complementary
#8F9D2E #2E579D #742E9D
monochromatic
#393E12 #646E20 #8F9D2E #B6C741 #C8D570

Accessibility & contrast

On white

2.99
#8F9D2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8F9D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D2E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D2E#FFFFFF#000000##000000
##8F9D2E1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951C
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#989487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d2e;
/* rgb */ color: rgb(143, 157, 46);
/* oklch */ color: oklch(66.4% 0.133 116.4);
Tailwind
colors: {
  custom: {
    50: '#b3b96e',
    500: '#8f9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d2e;
$custom-light: #b3b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d2e",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 67.568,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66377,
    "c": 0.13335,
    "h": 116.4
  },
  "luminance": 0.30151
}

Semantic roles & 50–950 ramp

primary
#8F9D2E
secondary
#756ABD
accent
#4ADE5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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