#9FB31E#9FB31E

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

Color values

HEX#9FB31E
RGBrgb(159, 179, 30)
HSLhsl(68, 71%, 41%)
HSVhsv(68, 83%, 70%)
CMYKcmyk(11.2%, 0%, 83.2%, 29.8%)
CIE-LABlab(69.26, -24.61, 65.83)
CIE-LCHlch(69.26, 70.28, 110.50°)
OKLaboklab(72.66% -0.0748 0.1424)
OKLCHoklch(72.66% 0.161 117.7)
XYZxyz(30.6533, 39.7052, 7.2771)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB31E #321EB3
analogous
#B37C1E #9FB31E #54B31E
triadic
#9FB31E #1E9FB3 #B31E9F
tetradic
#9FB31E #1EB37C #321EB3 #B31E54
square
#9FB31E #1EB37C #321EB3 #B31E54
split-complementary
#9FB31E #1E54B3 #7C1EB3
monochromatic
#424A0C #707F15 #9FB31E #C6DD32 #D4E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB31E#FFFFFF#000000##000000
##9FB31E1.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)
#BEAA2E
Tritanopia (blue-blind)
#A9A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb31e;
/* rgb */ color: rgb(159, 179, 30);
/* oklch */ color: oklch(72.7% 0.161 117.7);
Tailwind
colors: {
  custom: {
    50: '#bfc96a',
    500: '#9fb31e',
    950: '#000000',
  },
}
SCSS
$custom: #9fb31e;
$custom-light: #bfc96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb31e",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 68.054,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7266,
    "c": 0.16086,
    "h": 117.7
  },
  "luminance": 0.39705
}

Semantic roles & 50–950 ramp

primary
#9FB31E
secondary
#7062CB
accent
#3AEE52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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