#9EAC1F#9EAC1F

#9EAC1F is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.153 H 115.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#9EAC1F
RGBrgb(158, 172, 31)
HSLhsl(66, 69%, 40%)
HSVhsv(66, 82%, 67%)
CMYKcmyk(8.1%, 0%, 82%, 32.5%)
CIE-LABlab(67.18, -21.55, 63.76)
CIE-LCHlch(67.18, 67.30, 108.67°)
OKLaboklab(70.97% -0.0662 0.1382)
OKLCHoklch(70.97% 0.153 115.6)
XYZxyz(29.1013, 36.8736, 6.8803)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC1F #2D1FAC
analogous
#AC731F #9EAC1F #58AC1F
triadic
#9EAC1F #1F9EAC #AC1F9E
tetradic
#9EAC1F #1FAC73 #2D1FAC #AC1F58
square
#9EAC1F #1FAC73 #2D1FAC #AC1F58
split-complementary
#9EAC1F #1F58AC #731FAC
monochromatic
#3F440C #6E7816 #9EAC1F #C9D92F #D6E363

Accessibility & contrast

On white

2.51
#9EAC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#9EAC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC1F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC1F#FFFFFF#000000##000000
##9EAC1F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#A9A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eac1f;
/* rgb */ color: rgb(158, 172, 31);
/* oklch */ color: oklch(71.0% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec469',
    500: '#9eac1f',
    950: '#000000',
  },
}
SCSS
$custom: #9eac1f;
$custom-light: #bec469;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac1f",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 65.957,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70973,
    "c": 0.15322,
    "h": 115.6
  },
  "luminance": 0.36873
}

Semantic roles & 50–950 ramp

primary
#9EAC1F
secondary
#695FC8
accent
#3CEC4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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