#9F962D#9F962D

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

Color values

HEX#9F962D
RGBrgb(159, 150, 45)
HSLhsl(55, 56%, 40%)
HSVhsv(55, 72%, 62%)
CMYKcmyk(0%, 5.7%, 71.7%, 37.6%)
CIE-LABlab(61.11, -9.14, 53.60)
CIE-LCHlch(61.11, 54.38, 99.67°)
OKLaboklab(66.16% -0.0305 0.1191)
OKLCHoklch(66.16% 0.123 104.4)
XYZxyz(25.6791, 29.3741, 6.7992)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F962D #2D369F
analogous
#9F5D2D #9F962D #6F9F2D
triadic
#9F962D #2D9F96 #962D9F
tetradic
#9F962D #2D9F5D #2D369F #9F2D6F
square
#9F962D #2D9F5D #2D369F #9F2D6F
split-complementary
#9F962D #2D6F9F #5D2D9F
monochromatic
#403C12 #6F6920 #9F962D #C9BE40 #D6CE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F962D#FFFFFF#000000##000000
##9F962D1.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f962d;
/* rgb */ color: rgb(159, 150, 45);
/* oklch */ color: oklch(66.2% 0.123 104.4);
Tailwind
colors: {
  custom: {
    50: '#bfb46d',
    500: '#9f962d',
    950: '#000000',
  },
}
SCSS
$custom: #9f962d;
$custom-light: #bfb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f962d",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 55.263,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.66161,
    "c": 0.12295,
    "h": 104.4
  },
  "luminance": 0.29373
}

Semantic roles & 50–950 ramp

primary
#9F962D
secondary
#6A71BE
accent
#55DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F962D

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

Preview Lab → · Contrast checker → · Palette generator →

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