#9FB415#9FB415

#9FB415 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.165 H 117.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9FB415
RGBrgb(159, 180, 21)
HSLhsl(68, 79%, 39%)
HSVhsv(68, 88%, 71%)
CMYKcmyk(11.7%, 0%, 88.3%, 29.4%)
CIE-LABlab(69.52, -25.34, 68.01)
CIE-LCHlch(69.52, 72.57, 110.44°)
OKLaboklab(72.86% -0.0773 0.1458)
OKLCHoklch(72.86% 0.165 117.9)
XYZxyz(30.7555, 40.0679, 6.8230)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB415 #2A15B4
analogous
#B47A15 #9FB415 #4FB415
triadic
#9FB415 #159FB4 #B4159F
tetradic
#9FB415 #15B47A #2A15B4 #B4154F
square
#9FB415 #15B47A #2A15B4 #B4154F
split-complementary
#9FB415 #154FB4 #7A15B4
monochromatic
#3E4608 #6F7D0F #9FB415 #CBE521 #D8EC58

Accessibility & contrast

On white

2.33
#9FB415 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9FB415 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB415
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB415#FFFFFF#000000##000000
##9FB4151.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1A900
Deuteranopia (green-blind)
#BFAA2A
Tritanopia (blue-blind)
#A9A999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb415;
/* rgb */ color: rgb(159, 180, 21);
/* oklch */ color: oklch(72.9% 0.165 117.9);
Tailwind
colors: {
  custom: {
    50: '#c0ca67',
    500: '#9fb415',
    950: '#000000',
  },
}
SCSS
$custom: #9fb415;
$custom-light: #c0ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb415",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 67.925,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.16497,
    "h": 117.9
  },
  "luminance": 0.40068
}

Semantic roles & 50–950 ramp

primary
#9FB415
secondary
#6656CF
accent
#32F64C
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB415

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

Preview Lab → · Contrast checker → · Palette generator →

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