#9D9F22#9D9F22

#9D9F22 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.139 H 110.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9D9F22
RGBrgb(157, 159, 34)
HSLhsl(61, 65%, 38%)
HSVhsv(61, 79%, 62%)
CMYKcmyk(1.3%, 0%, 78.6%, 37.6%)
CIE-LABlab(63.41, -15.26, 59.54)
CIE-LCHlch(63.41, 61.46, 104.38°)
OKLaboklab(67.93% -0.0486 0.1297)
OKLCHoklch(67.93% 0.139 110.5)
XYZxyz(26.5925, 32.0806, 6.3044)
Luminance0.3208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F22 #24229F
analogous
#9F6222 #9D9F22 #5E9F22
triadic
#9D9F22 #229D9F #9F229D
tetradic
#9D9F22 #229F62 #24229F #9F225E
square
#9D9F22 #229F62 #24229F #9F225E
split-complementary
#9D9F22 #225E9F #62229F
monochromatic
#393A0C #6B6D17 #9D9F22 #CFD12D #DBDD5F

Accessibility & contrast

On white

2.83
#9D9F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9D9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F22
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F22#FFFFFF#000000##000000
##9D9F221.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#A89588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9f22;
/* rgb */ color: rgb(157, 159, 34);
/* oklch */ color: oklch(67.9% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#bebb69',
    500: '#9d9f22',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f22;
$custom-light: #bebb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f22",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 60.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67934,
    "c": 0.13851,
    "h": 110.5
  },
  "luminance": 0.3208
}

Semantic roles & 50–950 ramp

primary
#9D9F22
secondary
#5D5BC1
accent
#40E843
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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