#9F962F#9F962F

#9F962F is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.2% C 0.122 H 104.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F962F
RGBrgb(159, 150, 47)
HSLhsl(55, 54%, 40%)
HSVhsv(55, 70%, 62%)
CMYKcmyk(0%, 5.7%, 70.4%, 37.6%)
CIE-LABlab(61.12, -9.03, 52.83)
CIE-LCHlch(61.12, 53.59, 99.70°)
OKLaboklab(66.18% -0.03 0.1178)
OKLCHoklch(66.18% 0.122 104.3)
XYZxyz(25.7186, 29.3899, 7.0069)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F962F #2F389F
analogous
#9F5E2F #9F962F #709F2F
triadic
#9F962F #2F9F96 #962F9F
tetradic
#9F962F #2F9F5E #2F389F #9F2F70
square
#9F962F #2F9F5E #2F389F #9F2F70
split-complementary
#9F962F #2F709F #5E2F9F
monochromatic
#413D13 #706921 #9F962F #C8BD44 #D6CE73

Accessibility & contrast

On white

3.05
#9F962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#9F962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F962F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F962F#FFFFFF#000000##000000
##9F962F1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911F
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f962f;
/* rgb */ color: rgb(159, 150, 47);
/* oklch */ color: oklch(66.2% 0.122 104.3);
Tailwind
colors: {
  custom: {
    50: '#bfb46e',
    500: '#9f962f',
    950: '#000000',
  },
}
SCSS
$custom: #9f962f;
$custom-light: #bfb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f962f",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 55.179,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66177,
    "c": 0.12158,
    "h": 104.3
  },
  "luminance": 0.29389
}

Semantic roles & 50–950 ramp

primary
#9F962F
secondary
#6D73BD
accent
#56DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9F962F

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

Preview Lab → · Contrast checker → · Palette generator →

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