#9E9922#9E9922

#9E9922 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.132 H 107.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9E9922
RGBrgb(158, 153, 34)
HSLhsl(58, 65%, 38%)
HSVhsv(58, 78%, 62%)
CMYKcmyk(0%, 3.2%, 78.5%, 38%)
CIE-LABlab(61.80, -11.68, 58.12)
CIE-LCHlch(61.80, 59.28, 101.36°)
OKLaboklab(66.67% -0.0387 0.1266)
OKLCHoklch(66.67% 0.132 107)
XYZxyz(25.7816, 30.1680, 5.9780)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9922 #22279E
analogous
#9E5B22 #9E9922 #659E22
triadic
#9E9922 #229E99 #99229E
tetradic
#9E9922 #229E5B #22279E #9E2265
square
#9E9922 #229E5B #22279E #9E2265
split-complementary
#9E9922 #22659E #5B229E
monochromatic
#39370C #6C6817 #9E9922 #D0CA2D #DCD75E

Accessibility & contrast

On white

2.99
#9E9922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#9E9922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9922
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9922#FFFFFF#000000##000000
##9E99221.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79301
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9922;
/* rgb */ color: rgb(158, 153, 34);
/* oklch */ color: oklch(66.7% 0.132 107.0);
Tailwind
colors: {
  custom: {
    50: '#beb668',
    500: '#9e9922',
    950: '#000000',
  },
}
SCSS
$custom: #9e9922;
$custom-light: #beb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9922",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 57.581,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66668,
    "c": 0.1324,
    "h": 107
  },
  "luminance": 0.30167
}

Semantic roles & 50–950 ramp

primary
#9E9922
secondary
#5B5FC1
accent
#47E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9922

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

Preview Lab → · Contrast checker → · Palette generator →

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