#9F962C#9F962C

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

Color values

HEX#9F962C
RGBrgb(159, 150, 44)
HSLhsl(55, 57%, 40%)
HSVhsv(55, 72%, 62%)
CMYKcmyk(0%, 5.7%, 72.3%, 37.6%)
CIE-LABlab(61.10, -9.19, 53.98)
CIE-LCHlch(61.10, 54.76, 99.66°)
OKLaboklab(66.15% -0.0308 0.1197)
OKLCHoklch(66.15% 0.124 104.4)
XYZxyz(25.6601, 29.3665, 6.6990)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F962C #2C359F
analogous
#9F5C2C #9F962C #6F9F2C
triadic
#9F962C #2C9F96 #962C9F
tetradic
#9F962C #2C9F5C #2C359F #9F2C6F
square
#9F962C #2C9F5C #2C359F #9F2C6F
split-complementary
#9F962C #2C6F9F #5C2C9F
monochromatic
#3F3C11 #6F691F #9F962C #CABF3E #D7CF6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F962C#FFFFFF#000000##000000
##9F962C1.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)
#A3911A
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f962c;
/* rgb */ color: rgb(159, 150, 44);
/* oklch */ color: oklch(66.2% 0.124 104.4);
Tailwind
colors: {
  custom: {
    50: '#bfb46d',
    500: '#9f962c',
    950: '#000000',
  },
}
SCSS
$custom: #9f962c;
$custom-light: #bfb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f962c",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 55.304,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.12361,
    "h": 104.4
  },
  "luminance": 0.29365
}

Semantic roles & 50–950 ramp

primary
#9F962C
secondary
#696FBE
accent
#54E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F962C

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

Preview Lab → · Contrast checker → · Palette generator →

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