#9F9930#9F9930

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

Color values

HEX#9F9930
RGBrgb(159, 153, 48)
HSLhsl(57, 54%, 41%)
HSVhsv(57, 70%, 62%)
CMYKcmyk(0%, 3.8%, 69.8%, 37.6%)
CIE-LABlab(61.97, -10.57, 53.27)
CIE-LCHlch(61.97, 54.31, 101.23°)
OKLaboklab(66.85% -0.0342 0.1189)
OKLCHoklch(66.85% 0.124 106.1)
XYZxyz(26.2238, 30.3677, 7.2759)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9930 #30369F
analogous
#9F6130 #9F9930 #6D9F30
triadic
#9F9930 #309F99 #99309F
tetradic
#9F9930 #309F61 #30369F #9F306D
square
#9F9930 #309F61 #30369F #9F306D
split-complementary
#9F9930 #306D9F #61309F
monochromatic
#413F14 #706C22 #9F9930 #C7C045 #D5D074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9930#FFFFFF#000000##000000
##9F99301.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)
#A69320
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9930;
/* rgb */ color: rgb(159, 153, 48);
/* oklch */ color: oklch(66.9% 0.124 106.1);
Tailwind
colors: {
  custom: {
    50: '#beb66f',
    500: '#9f9930',
    950: '#000000',
  },
}
SCSS
$custom: #9f9930;
$custom-light: #beb66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9930",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 56.757,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.12377,
    "h": 106.1
  },
  "luminance": 0.30367
}

Semantic roles & 50–950 ramp

primary
#9F9930
secondary
#6E72BD
accent
#53DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9F9930

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

Preview Lab → · Contrast checker → · Palette generator →

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