#9E9522#9E9522

#9E9522 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.129 H 104.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E9522
RGBrgb(158, 149, 34)
HSLhsl(56, 65%, 38%)
HSVhsv(56, 78%, 62%)
CMYKcmyk(0%, 5.7%, 78.5%, 38%)
CIE-LABlab(60.68, -9.55, 57.11)
CIE-LCHlch(60.68, 57.90, 99.50°)
OKLaboklab(65.77% -0.0327 0.1245)
OKLCHoklch(65.77% 0.129 104.7)
XYZxyz(25.1378, 28.8805, 5.7634)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9522 #222B9E
analogous
#9E5722 #9E9522 #699E22
triadic
#9E9522 #229E95 #95229E
tetradic
#9E9522 #229E57 #222B9E #9E2269
square
#9E9522 #229E57 #222B9E #9E2269
split-complementary
#9E9522 #22699E #57229E
monochromatic
#39360C #6C6617 #9E9522 #D0C42D #DCD35E

Accessibility & contrast

On white

3.10
#9E9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9E9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9522
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9522#FFFFFF#000000##000000
##9E95221.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#A6952B
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9522;
/* rgb */ color: rgb(158, 149, 34);
/* oklch */ color: oklch(65.8% 0.129 104.7);
Tailwind
colors: {
  custom: {
    50: '#beb367',
    500: '#9e9522',
    950: '#000000',
  },
}
SCSS
$custom: #9e9522;
$custom-light: #beb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9522",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 55.645,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65773,
    "c": 0.12869,
    "h": 104.7
  },
  "luminance": 0.28879
}

Semantic roles & 50–950 ramp

primary
#9E9522
secondary
#5B62C1
accent
#4CE840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9522

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

Preview Lab → · Contrast checker → · Palette generator →

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