#8F9D2C#8F9D2C

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

Color values

HEX#8F9D2C
RGBrgb(143, 157, 44)
HSLhsl(67, 56%, 39%)
HSVhsv(67, 72%, 62%)
CMYKcmyk(8.9%, 0%, 72%, 38.4%)
CIE-LABlab(61.77, -19.90, 54.18)
CIE-LCHlch(61.77, 57.72, 110.16°)
OKLaboklab(66.36% -0.0598 0.1207)
OKLCHoklch(66.36% 0.135 116.4)
XYZxyz(23.8399, 30.1358, 6.9433)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D2C #3A2C9D
analogous
#9D732C #8F9D2C #569D2C
triadic
#8F9D2C #2C8F9D #9D2C8F
tetradic
#8F9D2C #2C9D73 #3A2C9D #9D2C56
square
#8F9D2C #2C9D73 #3A2C9D #9D2C56
split-complementary
#8F9D2C #2C569D #732C9D
monochromatic
#383D11 #636D1F #8F9D2C #B7C93D #C9D66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9D2C#FFFFFF#000000##000000
##8F9D2C1.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)
#A89518
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#989487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d2c;
/* rgb */ color: rgb(143, 157, 44);
/* oklch */ color: oklch(66.4% 0.135 116.4);
Tailwind
colors: {
  custom: {
    50: '#b3b96d',
    500: '#8f9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d2c;
$custom-light: #b3b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d2c",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 67.434,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.13467,
    "h": 116.4
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#8F9D2C
secondary
#7268BD
accent
#48E05B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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