#9F962B#9F962B

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

Color values

HEX#9F962B
RGBrgb(159, 150, 43)
HSLhsl(55, 57%, 40%)
HSVhsv(55, 73%, 62%)
CMYKcmyk(0%, 5.7%, 73%, 37.6%)
CIE-LABlab(61.10, -9.24, 54.36)
CIE-LCHlch(61.10, 55.14, 99.65°)
OKLaboklab(66.15% -0.031 0.1203)
OKLCHoklch(66.15% 0.124 104.5)
XYZxyz(25.6415, 29.3590, 6.6012)
Luminance0.2936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F962B #2B349F
analogous
#9F5C2B #9F962B #6E9F2B
triadic
#9F962B #2B9F96 #962B9F
tetradic
#9F962B #2B9F5C #2B349F #9F2B6E
square
#9F962B #2B9F5C #2B349F #9F2B6E
split-complementary
#9F962B #2B6E9F #5C2B9F
monochromatic
#3F3B11 #6F691E #9F962B #CABF3D #D7CF6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F962B#FFFFFF#000000##000000
##9F962B1.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)
#A49118
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f962b;
/* rgb */ color: rgb(159, 150, 43);
/* oklch */ color: oklch(66.1% 0.124 104.5);
Tailwind
colors: {
  custom: {
    50: '#bfb46c',
    500: '#9f962b',
    950: '#000000',
  },
}
SCSS
$custom: #9f962b;
$custom-light: #bfb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f962b",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 55.345,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66147,
    "c": 0.12425,
    "h": 104.5
  },
  "luminance": 0.29358
}

Semantic roles & 50–950 ramp

primary
#9F962B
secondary
#676EBE
accent
#53E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F962B

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

Preview Lab → · Contrast checker → · Palette generator →

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