#9E9D22#9E9D22

#9E9D22 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.6% C 0.136 H 109.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E9D22
RGBrgb(158, 157, 34)
HSLhsl(60, 65%, 38%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0%, 0.6%, 78.5%, 38%)
CIE-LABlab(62.93, -13.78, 59.14)
CIE-LCHlch(62.93, 60.72, 103.11°)
OKLaboklab(67.57% -0.0445 0.1288)
OKLCHoklch(67.57% 0.136 109.1)
XYZxyz(26.4473, 31.4994, 6.1999)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D22 #22239E
analogous
#9E5F22 #9E9D22 #619E22
triadic
#9E9D22 #229E9D #9D229E
tetradic
#9E9D22 #229E5F #22239E #9E2261
square
#9E9D22 #229E5F #22239E #9E2261
split-complementary
#9E9D22 #22619E #5F229E
monochromatic
#39390C #6C6B17 #9E9D22 #D0CF2D #DCDB5E

Accessibility & contrast

On white

2.88
#9E9D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9E9D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D22
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D22#FFFFFF#000000##000000
##9E9D221.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#AA9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9d22;
/* rgb */ color: rgb(158, 157, 34);
/* oklch */ color: oklch(67.6% 0.136 109.1);
Tailwind
colors: {
  custom: {
    50: '#beb969',
    500: '#9e9d22',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d22;
$custom-light: #beb969;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d22",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 59.516,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.13628,
    "h": 109.1
  },
  "luminance": 0.31499
}

Semantic roles & 50–950 ramp

primary
#9E9D22
secondary
#5B5CC1
accent
#42E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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