#9FB418#9FB418

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

Color values

HEX#9FB418
RGBrgb(159, 180, 24)
HSLhsl(68, 76%, 40%)
HSVhsv(68, 87%, 71%)
CMYKcmyk(11.7%, 0%, 86.7%, 29.4%)
CIE-LABlab(69.53, -25.27, 67.42)
CIE-LCHlch(69.53, 72.00, 110.55°)
OKLaboklab(72.87% -0.0769 0.1449)
OKLCHoklch(72.87% 0.164 118)
XYZxyz(30.7850, 40.0797, 6.9784)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB418 #2D18B4
analogous
#B47B18 #9FB418 #51B418
triadic
#9FB418 #189FB4 #B4189F
tetradic
#9FB418 #18B47B #2D18B4 #B41851
square
#9FB418 #18B47B #2D18B4 #B41851
split-complementary
#9FB418 #1851B4 #7B18B4
monochromatic
#40480A #6F7E11 #9FB418 #C9E227 #D7E95D

Accessibility & contrast

On white

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

On black

9.02
#9FB418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB418
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB418#FFFFFF#000000##000000
##9FB4181.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb418;
/* rgb */ color: rgb(159, 180, 24);
/* oklch */ color: oklch(72.9% 0.164 118.0);
Tailwind
colors: {
  custom: {
    50: '#c0ca68',
    500: '#9fb418',
    950: '#000000',
  },
}
SCSS
$custom: #9fb418;
$custom-light: #c0ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb418",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 68.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.72869,
    "c": 0.16406,
    "h": 118
  },
  "luminance": 0.40079
}

Semantic roles & 50–950 ramp

primary
#9FB418
secondary
#6A5BCD
accent
#35F34E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB418

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

Preview Lab → · Contrast checker → · Palette generator →

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