#9EB316#9EB316

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

Color values

HEX#9EB316
RGBrgb(158, 179, 22)
HSLhsl(68, 78%, 39%)
HSVhsv(68, 88%, 70%)
CMYKcmyk(11.7%, 0%, 87.7%, 29.8%)
CIE-LABlab(69.16, -25.26, 67.49)
CIE-LCHlch(69.16, 72.06, 110.52°)
OKLaboklab(72.55% -0.0769 0.1448)
OKLCHoklch(72.55% 0.164 118)
XYZxyz(30.3663, 39.5675, 6.7965)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB316 #2B16B3
analogous
#B37916 #9EB316 #50B316
triadic
#9EB316 #169EB3 #B3169E
tetradic
#9EB316 #16B379 #2B16B3 #B31650
square
#9EB316 #16B379 #2B16B3 #B31650
split-complementary
#9EB316 #1650B3 #7916B3
monochromatic
#3E4609 #6E7C0F #9EB316 #CAE422 #D7EB59

Accessibility & contrast

On white

2.36
#9EB316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#9EB316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB316
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB316#FFFFFF#000000##000000
##9EB3161.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eb316;
/* rgb */ color: rgb(158, 179, 22);
/* oklch */ color: oklch(72.6% 0.164 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfc967',
    500: '#9eb316',
    950: '#000000',
  },
}
SCSS
$custom: #9eb316;
$custom-light: #bfc967;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb316",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 68.025,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72554,
    "c": 0.16399,
    "h": 118
  },
  "luminance": 0.39567
}

Semantic roles & 50–950 ramp

primary
#9EB316
secondary
#6757CE
accent
#33F54D
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9EB316

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

Preview Lab → · Contrast checker → · Palette generator →

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