#9EAD1F#9EAD1F

#9EAD1F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.2% C 0.154 H 116.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#9EAD1F
RGBrgb(158, 173, 31)
HSLhsl(66, 70%, 40%)
HSVhsv(66, 82%, 68%)
CMYKcmyk(8.7%, 0%, 82.1%, 32.2%)
CIE-LABlab(67.47, -22.04, 64.00)
CIE-LCHlch(67.47, 67.69, 109.00°)
OKLaboklab(71.2% -0.0676 0.1387)
OKLCHoklch(71.2% 0.154 116)
XYZxyz(29.2923, 37.2556, 6.9440)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAD1F #2E1FAD
analogous
#AD751F #9EAD1F #57AD1F
triadic
#9EAD1F #1F9EAD #AD1F9E
tetradic
#9EAD1F #1FAD75 #2E1FAD #AD1F57
square
#9EAD1F #1FAD75 #2E1FAD #AD1F57
split-complementary
#9EAD1F #1F57AD #751FAD
monochromatic
#3F450C #6F7916 #9EAD1F #C8DA2F #D6E363

Accessibility & contrast

On white

2.48
#9EAD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#9EAD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAD1F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAD1F#FFFFFF#000000##000000
##9EAD1F1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#A9A394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9ead1f;
/* rgb */ color: rgb(158, 173, 31);
/* oklch */ color: oklch(71.2% 0.154 116.0);
Tailwind
colors: {
  custom: {
    50: '#bfc56a',
    500: '#9ead1f',
    950: '#000000',
  },
}
SCSS
$custom: #9ead1f;
$custom-light: #bfc56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ead1f",
  "rgb": {
    "r": 158,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 66.338,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.71203,
    "c": 0.1543,
    "h": 116
  },
  "luminance": 0.37255
}

Semantic roles & 50–950 ramp

primary
#9EAD1F
secondary
#6B60C8
accent
#3BEC4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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