#8F962B#8F962B

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

Color values

HEX#8F962B
RGBrgb(143, 150, 43)
HSLhsl(64, 55%, 38%)
HSVhsv(64, 71%, 59%)
CMYKcmyk(4.7%, 0%, 71.3%, 41.2%)
CIE-LABlab(59.73, -16.35, 52.56)
CIE-LCHlch(59.73, 55.04, 107.28°)
OKLaboklab(64.72% -0.05 0.1171)
OKLCHoklch(64.72% 0.127 113.1)
XYZxyz(22.6708, 27.8272, 6.4620)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F962B #322B96
analogous
#96672B #8F962B #5A962B
triadic
#8F962B #2B8F96 #962B8F
tetradic
#8F962B #2B9667 #322B96 #962B5A
square
#8F962B #2B9667 #322B96 #962B5A
split-complementary
#8F962B #2B5A96 #672B96
monochromatic
#343710 #62661D #8F962B #BCC639 #CDD468

Accessibility & contrast

On white

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

On black

6.57
#8F962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F962B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F962B#FFFFFF#000000##000000
##8F962B1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f962b;
/* rgb */ color: rgb(143, 150, 43);
/* oklch */ color: oklch(64.7% 0.127 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b46c',
    500: '#8f962b',
    950: '#000000',
  },
}
SCSS
$custom: #8f962b;
$custom-light: #b3b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f962b",
  "rgb": {
    "r": 143,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 63.925,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64725,
    "c": 0.12732,
    "h": 113.1
  },
  "luminance": 0.27827
}

Semantic roles & 50–950 ramp

primary
#8F962B
secondary
#6863BA
accent
#49DF53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F962B

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

Preview Lab → · Contrast checker → · Palette generator →

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