#9F992A#9F992A

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

Color values

HEX#9F992A
RGBrgb(159, 153, 42)
HSLhsl(57, 58%, 39%)
HSVhsv(57, 74%, 62%)
CMYKcmyk(0%, 3.8%, 73.6%, 37.6%)
CIE-LABlab(61.93, -10.88, 55.53)
CIE-LCHlch(61.93, 56.59, 101.09°)
OKLaboklab(66.81% -0.0357 0.1226)
OKLCHoklch(66.81% 0.128 106.2)
XYZxyz(26.1083, 30.3215, 6.6674)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F992A #2A309F
analogous
#9F5F2A #9F992A #6B9F2A
triadic
#9F992A #2A9F99 #992A9F
tetradic
#9F992A #2A9F5F #2A309F #9F2A6B
square
#9F992A #2A9F5F #2A309F #9F2A6B
split-complementary
#9F992A #2A6B9F #5F2A9F
monochromatic
#3E3C10 #6F6A1D #9F992A #CBC43B #D8D26B

Accessibility & contrast

On white

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

On black

7.06
#9F992A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F992A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F992A#FFFFFF#000000##000000
##9F992A1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f992a;
/* rgb */ color: rgb(159, 153, 42);
/* oklch */ color: oklch(66.8% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#bfb66c',
    500: '#9f992a',
    950: '#000000',
  },
}
SCSS
$custom: #9f992a;
$custom-light: #bfb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f992a",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 56.923,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66808,
    "c": 0.12772,
    "h": 106.2
  },
  "luminance": 0.30321
}

Semantic roles & 50–950 ramp

primary
#9F992A
secondary
#666BBF
accent
#4EE146
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F992A

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

Preview Lab → · Contrast checker → · Palette generator →

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