#9F9933#9F9933

#9F9933 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.122 H 106.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9F9933
RGBrgb(159, 153, 51)
HSLhsl(57, 51%, 41%)
HSVhsv(57, 68%, 62%)
CMYKcmyk(0%, 3.8%, 67.9%, 37.6%)
CIE-LABlab(61.99, -10.40, 52.07)
CIE-LCHlch(61.99, 53.10, 101.30°)
OKLaboklab(66.88% -0.0334 0.1169)
OKLCHoklch(66.88% 0.122 106)
XYZxyz(26.2878, 30.3933, 7.6131)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9933 #33399F
analogous
#9F6333 #9F9933 #6F9F33
triadic
#9F9933 #339F99 #99339F
tetradic
#9F9933 #339F63 #33399F #9F336F
square
#9F9933 #339F63 #33399F #9F336F
split-complementary
#9F9933 #336F9F #63339F
monochromatic
#424015 #716C24 #9F9933 #C5BE4A #D4CF79

Accessibility & contrast

On white

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

On black

7.08
#9F9933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9933
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9933#FFFFFF#000000##000000
##9F99331.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9933;
/* rgb */ color: rgb(159, 153, 51);
/* oklch */ color: oklch(66.9% 0.122 106.0);
Tailwind
colors: {
  custom: {
    50: '#beb671',
    500: '#9f9933',
    950: '#000000',
  },
}
SCSS
$custom: #9f9933;
$custom-light: #beb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9933",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 56.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66877,
    "c": 0.12162,
    "h": 106
  },
  "luminance": 0.30392
}

Semantic roles & 50–950 ramp

primary
#9F9933
secondary
#7176BC
accent
#55DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #9F9933

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

Preview Lab → · Contrast checker → · Palette generator →

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