#9E9222#9E9222

#9E9222 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.126 H 102.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9E9222
RGBrgb(158, 146, 34)
HSLhsl(54, 65%, 38%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 7.6%, 78.5%, 38%)
CIE-LABlab(59.84, -7.95, 56.34)
CIE-LCHlch(59.84, 56.90, 98.03°)
OKLaboklab(65.11% -0.0282 0.1228)
OKLCHoklch(65.11% 0.126 102.9)
XYZxyz(24.6693, 27.9434, 5.6073)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9222 #222E9E
analogous
#9E5422 #9E9222 #6C9E22
triadic
#9E9222 #229E92 #92229E
tetradic
#9E9222 #229E54 #222E9E #9E226C
square
#9E9222 #229E54 #222E9E #9E226C
split-complementary
#9E9222 #226C9E #54229E
monochromatic
#39350C #6C6317 #9E9222 #D0C12D #DCD05E

Accessibility & contrast

On white

3.19
#9E9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9E9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9222
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9222#FFFFFF#000000##000000
##9E92221.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D06
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#AA877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e9222;
/* rgb */ color: rgb(158, 146, 34);
/* oklch */ color: oklch(65.1% 0.126 102.9);
Tailwind
colors: {
  custom: {
    50: '#beb167',
    500: '#9e9222',
    950: '#000000',
  },
}
SCSS
$custom: #9e9222;
$custom-light: #beb167;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9222",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 54.194,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65106,
    "c": 0.12604,
    "h": 102.9
  },
  "luminance": 0.27942
}

Semantic roles & 50–950 ramp

primary
#9E9222
secondary
#5B65C1
accent
#50E840
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E9222

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

Preview Lab → · Contrast checker → · Palette generator →

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