#9E9122#9E9122

#9E9122 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.9% C 0.125 H 102.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9E9122
RGBrgb(158, 145, 34)
HSLhsl(54, 65%, 38%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 8.2%, 78.5%, 38%)
CIE-LABlab(59.56, -7.41, 56.09)
CIE-LCHlch(59.56, 56.58, 97.52°)
OKLaboklab(64.89% -0.0267 0.1223)
OKLCHoklch(64.89% 0.125 102.3)
XYZxyz(24.5158, 27.6365, 5.5561)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9122 #222F9E
analogous
#9E5322 #9E9122 #6D9E22
triadic
#9E9122 #229E91 #91229E
tetradic
#9E9122 #229E53 #222F9E #9E226D
square
#9E9122 #229E53 #222F9E #9E226D
split-complementary
#9E9122 #226D9E #53229E
monochromatic
#39350C #6C6317 #9E9122 #D0BF2D #DCCF5E

Accessibility & contrast

On white

3.22
#9E9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9E9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9122
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9122#FFFFFF#000000##000000
##9E91221.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#AB867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e9122;
/* rgb */ color: rgb(158, 145, 34);
/* oklch */ color: oklch(64.9% 0.125 102.3);
Tailwind
colors: {
  custom: {
    50: '#beb067',
    500: '#9e9122',
    950: '#000000',
  },
}
SCSS
$custom: #9e9122;
$custom-light: #beb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9122",
  "rgb": {
    "r": 158,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 53.71,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64885,
    "c": 0.12517,
    "h": 102.3
  },
  "luminance": 0.27635
}

Semantic roles & 50–950 ramp

primary
#9E9122
secondary
#5B65C1
accent
#52E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E9122

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

Preview Lab → · Contrast checker → · Palette generator →

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