#9E9C22#9E9C22

#9E9C22 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.135 H 108.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E9C22
RGBrgb(158, 156, 34)
HSLhsl(59, 65%, 38%)
HSVhsv(59, 78%, 62%)
CMYKcmyk(0%, 1.3%, 78.5%, 38%)
CIE-LABlab(62.64, -13.25, 58.88)
CIE-LCHlch(62.64, 60.36, 102.69°)
OKLaboklab(67.34% -0.0431 0.1283)
OKLCHoklch(67.34% 0.135 108.6)
XYZxyz(26.2788, 31.1624, 6.1437)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9C22 #22249E
analogous
#9E5E22 #9E9C22 #629E22
triadic
#9E9C22 #229E9C #9C229E
tetradic
#9E9C22 #229E5E #22249E #9E2262
square
#9E9C22 #229E5E #22249E #9E2262
split-complementary
#9E9C22 #22629E #5E229E
monochromatic
#39390C #6C6A17 #9E9C22 #D0CE2D #DCDA5E

Accessibility & contrast

On white

2.90
#9E9C22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9E9C22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9C22
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9C22#FFFFFF#000000##000000
##9E9C221.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#AA9185
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9c22;
/* rgb */ color: rgb(158, 156, 34);
/* oklch */ color: oklch(67.3% 0.135 108.6);
Tailwind
colors: {
  custom: {
    50: '#beb868',
    500: '#9e9c22',
    950: '#000000',
  },
}
SCSS
$custom: #9e9c22;
$custom-light: #beb868;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9c22",
  "rgb": {
    "r": 158,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 59.032,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.1353,
    "h": 108.6
  },
  "luminance": 0.31162
}

Semantic roles & 50–950 ramp

primary
#9E9C22
secondary
#5B5CC1
accent
#43E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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