#9E9422#9E9422

#9E9422 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.6% C 0.128 H 104.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9E9422
RGBrgb(158, 148, 34)
HSLhsl(55, 65%, 38%)
HSVhsv(55, 78%, 62%)
CMYKcmyk(0%, 6.3%, 78.5%, 38%)
CIE-LABlab(60.40, -9.02, 56.85)
CIE-LCHlch(60.40, 57.56, 99.01°)
OKLaboklab(65.55% -0.0312 0.1239)
OKLCHoklch(65.55% 0.128 104.1)
XYZxyz(24.9803, 28.5654, 5.7109)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9422 #222C9E
analogous
#9E5622 #9E9422 #6A9E22
triadic
#9E9422 #229E94 #94229E
tetradic
#9E9422 #229E56 #222C9E #9E226A
square
#9E9422 #229E56 #222C9E #9E226A
split-complementary
#9E9422 #226A9E #56229E
monochromatic
#39360C #6C6517 #9E9422 #D0C32D #DCD25E

Accessibility & contrast

On white

3.13
#9E9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9E9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9422
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9422#FFFFFF#000000##000000
##9E94221.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#AA897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9422;
/* rgb */ color: rgb(158, 148, 34);
/* oklch */ color: oklch(65.6% 0.128 104.1);
Tailwind
colors: {
  custom: {
    50: '#beb367',
    500: '#9e9422',
    950: '#000000',
  },
}
SCSS
$custom: #9e9422;
$custom-light: #beb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9422",
  "rgb": {
    "r": 158,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 55.161,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65551,
    "c": 0.12779,
    "h": 104.1
  },
  "luminance": 0.28564
}

Semantic roles & 50–950 ramp

primary
#9E9422
secondary
#5B63C1
accent
#4EE840
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9422

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

Preview Lab → · Contrast checker → · Palette generator →

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