#9EAF24#9EAF24

#9EAF24 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.7% C 0.154 H 116.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#9EAF24
RGBrgb(158, 175, 36)
HSLhsl(67, 66%, 41%)
HSVhsv(67, 79%, 69%)
CMYKcmyk(9.7%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.06, -22.85, 63.14)
CIE-LCHlch(68.06, 67.15, 109.90°)
OKLaboklab(71.69% -0.0695 0.1377)
OKLCHoklch(71.69% 0.154 116.8)
XYZxyz(29.7498, 38.0568, 7.4472)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF24 #3524AF
analogous
#AF7B24 #9EAF24 #59AF24
triadic
#9EAF24 #249EAF #AF249E
tetradic
#9EAF24 #24AF7B #3524AF #AF2459
square
#9EAF24 #24AF7B #3524AF #AF2459
split-complementary
#9EAF24 #2459AF #7B24AF
monochromatic
#42490F #707C1A #9EAF24 #C3D63A #D3E16D

Accessibility & contrast

On white

2.44
#9EAF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#9EAF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF24
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF24#FFFFFF#000000##000000
##9EAF241.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf24;
/* rgb */ color: rgb(158, 175, 36);
/* oklch */ color: oklch(71.7% 0.154 116.8);
Tailwind
colors: {
  custom: {
    50: '#bec66c',
    500: '#9eaf24',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf24;
$custom-light: #bec66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf24",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 67.338,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.15426,
    "h": 116.8
  },
  "luminance": 0.38056
}

Semantic roles & 50–950 ramp

primary
#9EAF24
secondary
#7368C7
accent
#3FE954
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EAF24

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

Preview Lab → · Contrast checker → · Palette generator →

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