#9F9420#9F9420

#9F9420 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.129 H 103.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F9420
RGBrgb(159, 148, 32)
HSLhsl(55, 66%, 37%)
HSVhsv(55, 80%, 62%)
CMYKcmyk(0%, 6.9%, 79.9%, 37.6%)
CIE-LABlab(60.48, -8.64, 57.60)
CIE-LCHlch(60.48, 58.25, 98.53°)
OKLaboklab(65.63% -0.0304 0.1251)
OKLCHoklch(65.63% 0.129 103.7)
XYZxyz(25.1498, 28.6561, 5.5726)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9420 #202B9F
analogous
#9F5420 #9F9420 #6B9F20
triadic
#9F9420 #209F94 #94209F
tetradic
#9F9420 #209F54 #202B9F #9F206B
square
#9F9420 #209F54 #202B9F #9F206B
split-complementary
#9F9420 #206B9F #54209F
monochromatic
#39350B #6C6516 #9F9420 #D2C32A #DED35B

Accessibility & contrast

On white

3.12
#9F9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9F9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9420
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9420#FFFFFF#000000##000000
##9F94201.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A69429
Tritanopia (blue-blind)
#AC897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f9420;
/* rgb */ color: rgb(159, 148, 32);
/* oklch */ color: oklch(65.6% 0.129 103.7);
Tailwind
colors: {
  custom: {
    50: '#bfb366',
    500: '#9f9420',
    950: '#000000',
  },
}
SCSS
$custom: #9f9420;
$custom-light: #bfb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9420",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 54.803,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65633,
    "c": 0.12872,
    "h": 103.7
  },
  "luminance": 0.28655
}

Semantic roles & 50–950 ramp

primary
#9F9420
secondary
#5962C2
accent
#4DE93E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F9420

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

Preview Lab → · Contrast checker → · Palette generator →

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