#9E9F22#9E9F22

#9E9F22 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.138 H 110.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9E9F22
RGBrgb(158, 159, 34)
HSLhsl(60, 65%, 38%)
HSVhsv(60, 79%, 62%)
CMYKcmyk(0.6%, 0%, 78.6%, 37.6%)
CIE-LABlab(63.49, -14.82, 59.65)
CIE-LCHlch(63.49, 61.46, 103.95°)
OKLaboklab(68.02% -0.0474 0.1299)
OKLCHoklch(68.02% 0.138 110.1)
XYZxyz(26.7884, 32.1817, 6.3136)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9F22 #23229F
analogous
#9F6122 #9E9F22 #5F9F22
triadic
#9E9F22 #229E9F #9F229E
tetradic
#9E9F22 #229F61 #23229F #9F225F
square
#9E9F22 #229F61 #23229F #9F225F
split-complementary
#9E9F22 #225F9F #61229F
monochromatic
#3A3A0C #6C6D17 #9E9F22 #D0D12D #DCDD5F

Accessibility & contrast

On white

2.82
#9E9F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9E9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9F22
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9F22#FFFFFF#000000##000000
##9E9F221.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#AA9488
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e9f22;
/* rgb */ color: rgb(158, 159, 34);
/* oklch */ color: oklch(68.0% 0.138 110.1);
Tailwind
colors: {
  custom: {
    50: '#bebb69',
    500: '#9e9f22',
    950: '#000000',
  },
}
SCSS
$custom: #9e9f22;
$custom-light: #bebb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9f22",
  "rgb": {
    "r": 158,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 60.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6802,
    "c": 0.13827,
    "h": 110.1
  },
  "luminance": 0.32181
}

Semantic roles & 50–950 ramp

primary
#9E9F22
secondary
#5C5BC1
accent
#40E841
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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