#8F9E2A#8F9E2A

#8F9E2A is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.6% C 0.137 H 116.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8F9E2A
RGBrgb(143, 158, 42)
HSLhsl(68, 58%, 39%)
HSVhsv(68, 73%, 62%)
CMYKcmyk(9.5%, 0%, 73.4%, 38%)
CIE-LABlab(62.05, -20.51, 55.19)
CIE-LCHlch(62.05, 58.88, 110.39°)
OKLaboklab(66.58% -0.0617 0.1225)
OKLCHoklch(66.58% 0.137 116.7)
XYZxyz(23.9731, 30.4608, 6.8067)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E2A #392A9E
analogous
#9E732A #8F9E2A #559E2A
triadic
#8F9E2A #2A8F9E #9E2A8F
tetradic
#8F9E2A #2A9E73 #392A9E #9E2A55
square
#8F9E2A #2A9E73 #392A9E #9E2A55
split-complementary
#8F9E2A #2A559E #732A9E
monochromatic
#373D10 #636E1D #8F9E2A #B8CB3A #CAD86B

Accessibility & contrast

On white

2.96
#8F9E2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#8F9E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E2A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E2A#FFFFFF#000000##000000
##8F9E2A1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#989588
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e2a;
/* rgb */ color: rgb(143, 158, 42);
/* oklch */ color: oklch(66.6% 0.137 116.7);
Tailwind
colors: {
  custom: {
    50: '#b3ba6c',
    500: '#8f9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e2a;
$custom-light: #b3ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e2a",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 67.759,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66582,
    "c": 0.13711,
    "h": 116.7
  },
  "luminance": 0.30461
}

Semantic roles & 50–950 ramp

primary
#8F9E2A
secondary
#7166BE
accent
#47E15B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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