#9EAF28#9EAF28

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

Color values

HEX#9EAF28
RGBrgb(158, 175, 40)
HSLhsl(68, 63%, 42%)
HSVhsv(68, 77%, 69%)
CMYKcmyk(9.7%, 0%, 77.1%, 31.4%)
CIE-LABlab(68.08, -22.69, 61.95)
CIE-LCHlch(68.08, 65.98, 110.12°)
OKLaboklab(71.71% -0.0687 0.1359)
OKLCHoklch(71.71% 0.152 116.8)
XYZxyz(29.8143, 38.0826, 7.7872)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF28 #3928AF
analogous
#AF7D28 #9EAF28 #5AAF28
triadic
#9EAF28 #289EAF #AF289E
tetradic
#9EAF28 #28AF7D #3928AF #AF285A
square
#9EAF28 #28AF7D #3928AF #AF285A
split-complementary
#9EAF28 #285AAF #7D28AF
monochromatic
#444B11 #717D1D #9EAF28 #C1D441 #D1DF73

Accessibility & contrast

On white

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

On black

8.62
#9EAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF28
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF28#FFFFFF#000000##000000
##9EAF281.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eaf28;
/* rgb */ color: rgb(158, 175, 40);
/* oklch */ color: oklch(71.7% 0.152 116.8);
Tailwind
colors: {
  custom: {
    50: '#bec66d',
    500: '#9eaf28',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf28;
$custom-light: #bec66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf28",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 67.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71708,
    "c": 0.15228,
    "h": 116.8
  },
  "luminance": 0.38082
}

Semantic roles & 50–950 ramp

primary
#9EAF28
secondary
#786DC6
accent
#42E657
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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