#8F9C2F#8F9C2F

#8F9C2F is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.2% C 0.131 H 116.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8F9C2F
RGBrgb(143, 156, 47)
HSLhsl(67, 54%, 40%)
HSVhsv(67, 70%, 61%)
CMYKcmyk(8.3%, 0%, 69.9%, 38.8%)
CIE-LABlab(61.50, -19.21, 52.76)
CIE-LCHlch(61.50, 56.15, 110.01°)
OKLaboklab(66.15% -0.0576 0.1182)
OKLCHoklch(66.15% 0.131 116)
XYZxyz(23.7298, 29.8222, 7.1950)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9C2F #3C2F9C
analogous
#9C732F #8F9C2F #599C2F
triadic
#8F9C2F #2F8F9C #9C2F8F
tetradic
#8F9C2F #2F9C73 #3C2F9C #9C2F59
square
#8F9C2F #2F9C73 #3C2F9C #9C2F59
split-complementary
#8F9C2F #2F599C #732F9C
monochromatic
#393E13 #646D21 #8F9C2F #B6C642 #C8D471

Accessibility & contrast

On white

3.02
#8F9C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#8F9C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9C2F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9C2F#FFFFFF#000000##000000
##8F9C2F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941E
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#989386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f9c2f;
/* rgb */ color: rgb(143, 156, 47);
/* oklch */ color: oklch(66.2% 0.131 116.0);
Tailwind
colors: {
  custom: {
    50: '#b3b96e',
    500: '#8f9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #8f9c2f;
$custom-light: #b3b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9c2f",
  "rgb": {
    "r": 143,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 67.156,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66151,
    "c": 0.13149,
    "h": 116
  },
  "luminance": 0.29822
}

Semantic roles & 50–950 ramp

primary
#8F9C2F
secondary
#756BBC
accent
#4BDD5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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