#9F962E#9F962E

#9F962E 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#9F962E
RGBrgb(159, 150, 46)
HSLhsl(55, 55%, 40%)
HSVhsv(55, 71%, 62%)
CMYKcmyk(0%, 5.7%, 71.1%, 37.6%)
CIE-LABlab(61.12, -9.09, 53.22)
CIE-LCHlch(61.12, 53.99, 99.69°)
OKLaboklab(66.17% -0.0303 0.1185)
OKLCHoklch(66.17% 0.122 104.3)
XYZxyz(25.6986, 29.3819, 6.9018)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F962E #2E379F
analogous
#9F5D2E #9F962E #709F2E
triadic
#9F962E #2E9F96 #962E9F
tetradic
#9F962E #2E9F5D #2E379F #9F2E70
square
#9F962E #2E9F5D #2E379F #9F2E70
split-complementary
#9F962E #2E709F #5D2E9F
monochromatic
#403C13 #706920 #9F962E #C8BE42 #D6CE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F962E#FFFFFF#000000##000000
##9F962E1.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)
#A3911E
Deuteranopia (green-blind)
#A69635
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f962e;
/* rgb */ color: rgb(159, 150, 46);
/* oklch */ color: oklch(66.2% 0.122 104.3);
Tailwind
colors: {
  custom: {
    50: '#bfb46e',
    500: '#9f962e',
    950: '#000000',
  },
}
SCSS
$custom: #9f962e;
$custom-light: #bfb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f962e",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 55.221,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66169,
    "c": 0.12228,
    "h": 104.3
  },
  "luminance": 0.29381
}

Semantic roles & 50–950 ramp

primary
#9F962E
secondary
#6B72BE
accent
#55DE49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F962E

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

Preview Lab → · Contrast checker → · Palette generator →

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