#9EAF29#9EAF29

#9EAF29 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#9EAF29
RGBrgb(158, 175, 41)
HSLhsl(68, 62%, 42%)
HSVhsv(68, 77%, 69%)
CMYKcmyk(9.7%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.09, -22.65, 61.64)
CIE-LCHlch(68.09, 65.67, 110.18°)
OKLaboklab(71.71% -0.0685 0.1354)
OKLCHoklch(71.71% 0.152 116.8)
XYZxyz(29.8315, 38.0895, 7.8779)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF29 #3A29AF
analogous
#AF7D29 #9EAF29 #5BAF29
triadic
#9EAF29 #299EAF #AF299E
tetradic
#9EAF29 #29AF7D #3A29AF #AF295B
square
#9EAF29 #29AF7D #3A29AF #AF295B
split-complementary
#9EAF29 #295BAF #7D29AF
monochromatic
#444C12 #717D1D #9EAF29 #C0D342 #D1DE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAF29#FFFFFF#000000##000000
##9EAF291.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)
#BBA505
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf29;
/* rgb */ color: rgb(158, 175, 41);
/* oklch */ color: oklch(71.7% 0.152 116.8);
Tailwind
colors: {
  custom: {
    50: '#bec66e',
    500: '#9eaf29',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf29;
$custom-light: #bec66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf29",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 67.612,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71714,
    "c": 0.15175,
    "h": 116.8
  },
  "luminance": 0.38089
}

Semantic roles & 50–950 ramp

primary
#9EAF29
secondary
#796EC6
accent
#43E557
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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