#9E9A22#9E9A22

#9E9A22 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.9% C 0.133 H 107.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9E9A22
RGBrgb(158, 154, 34)
HSLhsl(58, 65%, 38%)
HSVhsv(58, 78%, 62%)
CMYKcmyk(0%, 2.5%, 78.5%, 38%)
CIE-LABlab(62.08, -12.20, 58.38)
CIE-LCHlch(62.08, 59.64, 101.81°)
OKLaboklab(66.89% -0.0401 0.1272)
OKLCHoklch(66.89% 0.133 107.5)
XYZxyz(25.9459, 30.4967, 6.0328)
Luminance0.3050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9A22 #22269E
analogous
#9E5C22 #9E9A22 #649E22
triadic
#9E9A22 #229E9A #9A229E
tetradic
#9E9A22 #229E5C #22269E #9E2264
square
#9E9A22 #229E5C #22269E #9E2264
split-complementary
#9E9A22 #22649E #5C229E
monochromatic
#39380C #6C6917 #9E9A22 #D0CB2D #DCD85E

Accessibility & contrast

On white

2.96
#9E9A22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#9E9A22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9A22
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9A22#FFFFFF#000000##000000
##9E9A221.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79400
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#AA8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e9a22;
/* rgb */ color: rgb(158, 154, 34);
/* oklch */ color: oklch(66.9% 0.133 107.5);
Tailwind
colors: {
  custom: {
    50: '#beb768',
    500: '#9e9a22',
    950: '#000000',
  },
}
SCSS
$custom: #9e9a22;
$custom-light: #beb768;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9a22",
  "rgb": {
    "r": 158,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 58.065,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66893,
    "c": 0.13336,
    "h": 107.5
  },
  "luminance": 0.30496
}

Semantic roles & 50–950 ramp

primary
#9E9A22
secondary
#5B5EC1
accent
#46E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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