#8F9C2E#8F9C2E

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

Color values

HEX#8F9C2E
RGBrgb(143, 156, 46)
HSLhsl(67, 54%, 40%)
HSVhsv(67, 71%, 61%)
CMYKcmyk(8.3%, 0%, 70.5%, 38.8%)
CIE-LABlab(61.49, -19.27, 53.15)
CIE-LCHlch(61.49, 56.53, 109.93°)
OKLaboklab(66.14% -0.0579 0.1188)
OKLCHoklch(66.14% 0.132 116)
XYZxyz(23.7099, 29.8142, 7.0899)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9C2E #3B2E9C
analogous
#9C722E #8F9C2E #589C2E
triadic
#8F9C2E #2E8F9C #9C2E8F
tetradic
#8F9C2E #2E9C72 #3B2E9C #9C2E58
square
#8F9C2E #2E9C72 #3B2E9C #9C2E58
split-complementary
#8F9C2E #2E589C #722E9C
monochromatic
#383D12 #646D20 #8F9C2E #B7C740 #C9D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9C2E#FFFFFF#000000##000000
##8F9C2E1.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)
#A7941C
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#989386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f9c2e;
/* rgb */ color: rgb(143, 156, 46);
/* oklch */ color: oklch(66.1% 0.132 116.0);
Tailwind
colors: {
  custom: {
    50: '#b3b96e',
    500: '#8f9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f9c2e;
$custom-light: #b3b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9c2e",
  "rgb": {
    "r": 143,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 67.091,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66143,
    "c": 0.13218,
    "h": 116
  },
  "luminance": 0.29814
}

Semantic roles & 50–950 ramp

primary
#8F9C2E
secondary
#736ABC
accent
#4ADE5B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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