#9D9E22#9D9E22

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

Color values

HEX#9D9E22
RGBrgb(157, 158, 34)
HSLhsl(60, 65%, 38%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0.6%, 0%, 78.5%, 38%)
CIE-LABlab(63.13, -14.74, 59.28)
CIE-LCHlch(63.13, 61.09, 103.96°)
OKLaboklab(67.71% -0.0471 0.1292)
OKLCHoklch(67.71% 0.138 110.1)
XYZxyz(26.4212, 31.7381, 6.2473)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E22 #23229E
analogous
#9E6122 #9D9E22 #5F9E22
triadic
#9D9E22 #229D9E #9E229D
tetradic
#9D9E22 #229E61 #23229E #9E225F
square
#9D9E22 #229E61 #23229E #9E225F
split-complementary
#9D9E22 #225F9E #61229E
monochromatic
#39390C #6B6C17 #9D9E22 #CFD02D #DBDC5E

Accessibility & contrast

On white

2.86
#9D9E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#9D9E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E22
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E22#FFFFFF#000000##000000
##9D9E221.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#A99487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e22;
/* rgb */ color: rgb(157, 158, 34);
/* oklch */ color: oklch(67.7% 0.138 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba69',
    500: '#9d9e22',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e22;
$custom-light: #beba69;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e22",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 60.484,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.1375,
    "h": 110.1
  },
  "luminance": 0.31737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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