#9FB320#9FB320

#9FB320 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.160 H 117.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9FB320
RGBrgb(159, 179, 32)
HSLhsl(68, 70%, 41%)
HSVhsv(68, 82%, 70%)
CMYKcmyk(11.2%, 0%, 82.1%, 29.8%)
CIE-LABlab(69.27, -24.54, 65.33)
CIE-LCHlch(69.27, 69.79, 110.59°)
OKLaboklab(72.67% -0.0745 0.1417)
OKLCHoklch(72.67% 0.16 117.7)
XYZxyz(30.6797, 39.7157, 7.4159)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB320 #3420B3
analogous
#B37E20 #9FB320 #56B320
triadic
#9FB320 #209FB3 #B3209F
tetradic
#9FB320 #20B37E #3420B3 #B32056
square
#9FB320 #20B37E #3420B3 #B32056
split-complementary
#9FB320 #2056B3 #7E20B3
monochromatic
#434B0D #717F17 #9FB320 #C4DB35 #D3E469

Accessibility & contrast

On white

2.35
#9FB320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#9FB320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB320
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB320#FFFFFF#000000##000000
##9FB3201.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#A9A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb320;
/* rgb */ color: rgb(159, 179, 32);
/* oklch */ color: oklch(72.7% 0.160 117.7);
Tailwind
colors: {
  custom: {
    50: '#bfc96b',
    500: '#9fb320',
    950: '#000000',
  },
}
SCSS
$custom: #9fb320;
$custom-light: #bfc96b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb320",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 68.163,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72669,
    "c": 0.16005,
    "h": 117.7
  },
  "luminance": 0.39715
}

Semantic roles & 50–950 ramp

primary
#9FB320
secondary
#7365CA
accent
#3BEC53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB320

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

Preview Lab → · Contrast checker → · Palette generator →

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