#9D9926#9D9926

#9D9926 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.130 H 107.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D9926
RGBrgb(157, 153, 38)
HSLhsl(58, 61%, 38%)
HSVhsv(58, 76%, 62%)
CMYKcmyk(0%, 2.5%, 75.8%, 38.4%)
CIE-LABlab(61.73, -11.96, 56.71)
CIE-LCHlch(61.73, 57.95, 101.91°)
OKLaboklab(66.6% -0.039 0.1244)
OKLCHoklch(66.6% 0.13 107.4)
XYZxyz(25.6467, 30.0914, 6.2906)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9926 #262A9D
analogous
#9D5D26 #9D9926 #659D26
triadic
#9D9926 #269D99 #99269D
tetradic
#9D9926 #269D5D #262A9D #9D2665
square
#9D9926 #269D5D #262A9D #9D2665
split-complementary
#9D9926 #26659D #5D269D
monochromatic
#3A390E #6C691A #9D9926 #CEC833 #D9D664

Accessibility & contrast

On white

2.99
#9D9926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9D9926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9926
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9926#FFFFFF#000000##000000
##9D99261.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930C
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#A98F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9926;
/* rgb */ color: rgb(157, 153, 38);
/* oklch */ color: oklch(66.6% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#bdb66a',
    500: '#9d9926',
    950: '#000000',
  },
}
SCSS
$custom: #9d9926;
$custom-light: #bdb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9926",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 57.983,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.13041,
    "h": 107.4
  },
  "luminance": 0.30091
}

Semantic roles & 50–950 ramp

primary
#9D9926
secondary
#6063BF
accent
#49E444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9926

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

Preview Lab → · Contrast checker → · Palette generator →

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