#9F962A#9F962A

#9F962A is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.1% C 0.125 H 104.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F962A
RGBrgb(159, 150, 42)
HSLhsl(55, 58%, 39%)
HSVhsv(55, 74%, 62%)
CMYKcmyk(0%, 5.7%, 73.6%, 37.6%)
CIE-LABlab(61.09, -9.29, 54.73)
CIE-LCHlch(61.09, 55.51, 99.63°)
OKLaboklab(66.14% -0.0313 0.1209)
OKLCHoklch(66.14% 0.125 104.5)
XYZxyz(25.6234, 29.3518, 6.5058)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F962A #2A339F
analogous
#9F5C2A #9F962A #6D9F2A
triadic
#9F962A #2A9F96 #962A9F
tetradic
#9F962A #2A9F5C #2A339F #9F2A6D
square
#9F962A #2A9F5C #2A339F #9F2A6D
split-complementary
#9F962A #2A6D9F #5C2A9F
monochromatic
#3E3B10 #6F681D #9F962A #CBC03B #D8D06B

Accessibility & contrast

On white

3.06
#9F962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9F962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F962A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F962A#FFFFFF#000000##000000
##9F962A1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49117
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f962a;
/* rgb */ color: rgb(159, 150, 42);
/* oklch */ color: oklch(66.1% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#bfb46b',
    500: '#9f962a',
    950: '#000000',
  },
}
SCSS
$custom: #9f962a;
$custom-light: #bfb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f962a",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 55.385,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66139,
    "c": 0.12489,
    "h": 104.5
  },
  "luminance": 0.29351
}

Semantic roles & 50–950 ramp

primary
#9F962A
secondary
#666DBF
accent
#52E146
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F962A

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

Preview Lab → · Contrast checker → · Palette generator →

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