#9EAF22#9EAF22

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

Color values

HEX#9EAF22
RGBrgb(158, 175, 34)
HSLhsl(67, 67%, 41%)
HSVhsv(67, 81%, 69%)
CMYKcmyk(9.7%, 0%, 80.6%, 31.4%)
CIE-LABlab(68.05, -22.93, 63.71)
CIE-LCHlch(68.05, 67.71, 109.80°)
OKLaboklab(71.68% -0.0698 0.1386)
OKLCHoklch(71.68% 0.155 116.7)
XYZxyz(29.7201, 38.0449, 7.2908)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF22 #3322AF
analogous
#AF7922 #9EAF22 #57AF22
triadic
#9EAF22 #229EAF #AF229E
tetradic
#9EAF22 #22AF79 #3322AF #AF2257
square
#9EAF22 #22AF79 #3322AF #AF2257
split-complementary
#9EAF22 #2257AF #7922AF
monochromatic
#41490E #707C18 #9EAF22 #C4D836 #D3E269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAF22#FFFFFF#000000##000000
##9EAF221.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)
#BCA500
Deuteranopia (green-blind)
#BAA730
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf22;
/* rgb */ color: rgb(158, 175, 34);
/* oklch */ color: oklch(71.7% 0.155 116.7);
Tailwind
colors: {
  custom: {
    50: '#bec66b',
    500: '#9eaf22',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf22;
$custom-light: #bec66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf22",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 67.234,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71677,
    "c": 0.15517,
    "h": 116.7
  },
  "luminance": 0.38045
}

Semantic roles & 50–950 ramp

primary
#9EAF22
secondary
#7165C8
accent
#3DEA52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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