#9F992B#9F992B

#9F992B is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.127 H 106.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F992B
RGBrgb(159, 153, 43)
HSLhsl(57, 57%, 40%)
HSVhsv(57, 73%, 62%)
CMYKcmyk(0%, 3.8%, 73%, 37.6%)
CIE-LABlab(61.94, -10.83, 55.17)
CIE-LCHlch(61.94, 56.22, 101.11°)
OKLaboklab(66.82% -0.0355 0.122)
OKLCHoklch(66.82% 0.127 106.2)
XYZxyz(26.1264, 30.3288, 6.7628)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F992B #2B319F
analogous
#9F5F2B #9F992B #6B9F2B
triadic
#9F992B #2B9F99 #992B9F
tetradic
#9F992B #2B9F5F #2B319F #9F2B6B
square
#9F992B #2B9F5F #2B319F #9F2B6B
split-complementary
#9F992B #2B6B9F #5F2B9F
monochromatic
#3F3C11 #6F6B1E #9F992B #CAC33D #D7D26D

Accessibility & contrast

On white

2.97
#9F992B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9F992B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F992B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F992B#FFFFFF#000000##000000
##9F992B1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f992b;
/* rgb */ color: rgb(159, 153, 43);
/* oklch */ color: oklch(66.8% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#bfb66c',
    500: '#9f992b',
    950: '#000000',
  },
}
SCSS
$custom: #9f992b;
$custom-light: #bfb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f992b",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 56.897,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.1271,
    "h": 106.2
  },
  "luminance": 0.30328
}

Semantic roles & 50–950 ramp

primary
#9F992B
secondary
#676CBE
accent
#4FE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F992B

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

Preview Lab → · Contrast checker → · Palette generator →

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