#9FB319#9FB319

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

Color values

HEX#9FB319
RGBrgb(159, 179, 25)
HSLhsl(68, 75%, 40%)
HSVhsv(68, 86%, 70%)
CMYKcmyk(11.2%, 0%, 86%, 29.8%)
CIE-LABlab(69.24, -24.76, 66.97)
CIE-LCHlch(69.24, 71.40, 110.29°)
OKLaboklab(72.64% -0.0755 0.1441)
OKLCHoklch(72.64% 0.163 117.6)
XYZxyz(30.5945, 39.6817, 6.9671)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB319 #2D19B3
analogous
#B37A19 #9FB319 #52B319
triadic
#9FB319 #199FB3 #B3199F
tetradic
#9FB319 #19B37A #2D19B3 #B31952
square
#9FB319 #19B37A #2D19B3 #B31952
split-complementary
#9FB319 #1952B3 #7A19B3
monochromatic
#40480A #6F7D12 #9FB319 #C9E128 #D7E85E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB319#FFFFFF#000000##000000
##9FB3191.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)
#BEAA2C
Tritanopia (blue-blind)
#A9A898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb319;
/* rgb */ color: rgb(159, 179, 25);
/* oklch */ color: oklch(72.6% 0.163 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc968',
    500: '#9fb319',
    950: '#000000',
  },
}
SCSS
$custom: #9fb319;
$custom-light: #bfc968;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb319",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 67.792,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.72641,
    "c": 0.16266,
    "h": 117.6
  },
  "luminance": 0.39681
}

Semantic roles & 50–950 ramp

primary
#9FB319
secondary
#6A5BCC
accent
#36F24E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB319

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

Preview Lab → · Contrast checker → · Palette generator →

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