#9EAB1C#9EAB1C

#9EAB1C is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.7% C 0.153 H 115.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#9EAB1C
RGBrgb(158, 171, 28)
HSLhsl(65, 72%, 39%)
HSVhsv(65, 84%, 67%)
CMYKcmyk(7.6%, 0%, 83.6%, 32.9%)
CIE-LABlab(66.88, -21.14, 64.27)
CIE-LCHlch(66.88, 67.66, 108.21°)
OKLaboklab(70.73% -0.0653 0.1388)
OKLCHoklch(70.73% 0.153 115.2)
XYZxyz(28.8739, 36.4793, 6.6185)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB1C #291CAB
analogous
#AB711C #9EAB1C #56AB1C
triadic
#9EAB1C #1C9EAB #AB1C9E
tetradic
#9EAB1C #1CAB71 #291CAB #AB1C56
square
#9EAB1C #1CAB71 #291CAB #AB1C56
split-complementary
#9EAB1C #1C56AB #711CAB
monochromatic
#3D420B #6D7613 #9EAB1C #CCDC28 #D8E45D

Accessibility & contrast

On white

2.53
#9EAB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#9EAB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAB1C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAB1C#FFFFFF#000000##000000
##9EAB1C1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A42C
Tritanopia (blue-blind)
#A9A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab1c;
/* rgb */ color: rgb(158, 171, 28);
/* oklch */ color: oklch(70.7% 0.153 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc368',
    500: '#9eab1c',
    950: '#000000',
  },
}
SCSS
$custom: #9eab1c;
$custom-light: #bfc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab1c",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 65.455,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.15336,
    "h": 115.2
  },
  "luminance": 0.36479
}

Semantic roles & 50–950 ramp

primary
#9EAB1C
secondary
#645AC9
accent
#39EF4A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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