#8F962F#8F962F

#8F962F is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.8% C 0.125 H 113.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8F962F
RGBrgb(143, 150, 47)
HSLhsl(64, 52%, 39%)
HSVhsv(64, 69%, 59%)
CMYKcmyk(4.7%, 0%, 68.7%, 41.2%)
CIE-LABlab(59.76, -16.12, 51.01)
CIE-LCHlch(59.76, 53.49, 107.54°)
OKLaboklab(64.76% -0.049 0.1145)
OKLCHoklch(64.76% 0.125 113.2)
XYZxyz(22.7478, 27.8580, 6.8676)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F962F #362F96
analogous
#96692F #8F962F #5B962F
triadic
#8F962F #2F8F96 #962F8F
tetradic
#8F962F #2F9669 #362F96 #962F5B
square
#8F962F #2F9669 #362F96 #962F5B
split-complementary
#8F962F #2F5B96 #692F96
monochromatic
#363912 #636720 #8F962F #BAC33F #CBD26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F962F#FFFFFF#000000##000000
##8F962F1.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)
#A18F20
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#998D81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f962f;
/* rgb */ color: rgb(143, 150, 47);
/* oklch */ color: oklch(64.8% 0.125 113.2);
Tailwind
colors: {
  custom: {
    50: '#b3b46e',
    500: '#8f962f',
    950: '#000000',
  },
}
SCSS
$custom: #8f962f;
$custom-light: #b3b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f962f",
  "rgb": {
    "r": 143,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 64.078,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64756,
    "c": 0.12453,
    "h": 113.2
  },
  "luminance": 0.27858
}

Semantic roles & 50–950 ramp

primary
#8F962F
secondary
#6D68B9
accent
#4CDC56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F962F

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

Preview Lab → · Contrast checker → · Palette generator →

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