#8F962A#8F962A

#8F962A is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.7% C 0.128 H 113.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F962A
RGBrgb(143, 150, 42)
HSLhsl(64, 56%, 38%)
HSVhsv(64, 72%, 59%)
CMYKcmyk(4.7%, 0%, 72%, 41.2%)
CIE-LABlab(59.73, -16.40, 52.94)
CIE-LCHlch(59.73, 55.42, 107.22°)
OKLaboklab(64.72% -0.0503 0.1177)
OKLCHoklch(64.72% 0.128 113.1)
XYZxyz(22.6526, 27.8200, 6.3665)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F962A #312A96
analogous
#96672A #8F962A #59962A
triadic
#8F962A #2A8F96 #962A8F
tetradic
#8F962A #2A9667 #312A96 #962A59
square
#8F962A #2A9667 #312A96 #962A59
split-complementary
#8F962A #2A5996 #672A96
monochromatic
#34360F #61661D #8F962A #BDC637 #CDD466

Accessibility & contrast

On white

3.20
#8F962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8F962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F962A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F962A#FFFFFF#000000##000000
##8F962A1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F17
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#998D81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f962a;
/* rgb */ color: rgb(143, 150, 42);
/* oklch */ color: oklch(64.7% 0.128 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b46b',
    500: '#8f962a',
    950: '#000000',
  },
}
SCSS
$custom: #8f962a;
$custom-light: #b3b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f962a",
  "rgb": {
    "r": 143,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 63.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64718,
    "c": 0.12798,
    "h": 113.1
  },
  "luminance": 0.27819
}

Semantic roles & 50–950 ramp

primary
#8F962A
secondary
#6761BA
accent
#48E052
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F962A

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

Preview Lab → · Contrast checker → · Palette generator →

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