#9F9730#9F9730

#9F9730 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.122 H 104.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F9730
RGBrgb(159, 151, 48)
HSLhsl(56, 54%, 41%)
HSVhsv(56, 70%, 62%)
CMYKcmyk(0%, 5%, 69.8%, 37.6%)
CIE-LABlab(61.41, -9.51, 52.71)
CIE-LCHlch(61.41, 53.56, 100.23°)
OKLaboklab(66.41% -0.0312 0.1178)
OKLCHoklch(66.41% 0.122 104.9)
XYZxyz(25.8992, 29.7185, 7.1677)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9730 #30389F
analogous
#9F6030 #9F9730 #6F9F30
triadic
#9F9730 #309F97 #97309F
tetradic
#9F9730 #309F60 #30389F #9F306F
square
#9F9730 #309F60 #30389F #9F306F
split-complementary
#9F9730 #306F9F #60309F
monochromatic
#413E14 #706A22 #9F9730 #C7BE45 #D5CE74

Accessibility & contrast

On white

3.02
#9F9730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#9F9730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9730
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9730#FFFFFF#000000##000000
##9F97301.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49221
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f9730;
/* rgb */ color: rgb(159, 151, 48);
/* oklch */ color: oklch(66.4% 0.122 104.9);
Tailwind
colors: {
  custom: {
    50: '#bfb56f',
    500: '#9f9730',
    950: '#000000',
  },
}
SCSS
$custom: #9f9730;
$custom-light: #bfb56f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9730",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 55.676,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66407,
    "c": 0.12184,
    "h": 104.9
  },
  "luminance": 0.29718
}

Semantic roles & 50–950 ramp

primary
#9F9730
secondary
#6E73BD
accent
#55DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9F9730

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

Preview Lab → · Contrast checker → · Palette generator →

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