#9D9426#9D9426

#9D9426 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.126 H 104.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D9426
RGBrgb(157, 148, 38)
HSLhsl(55, 61%, 38%)
HSVhsv(55, 76%, 62%)
CMYKcmyk(0%, 5.7%, 75.8%, 38.4%)
CIE-LABlab(60.33, -9.30, 55.39)
CIE-LCHlch(60.33, 56.17, 99.53°)
OKLaboklab(65.48% -0.0316 0.1216)
OKLCHoklch(65.48% 0.126 104.6)
XYZxyz(24.8455, 28.4888, 6.0235)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9426 #262F9D
analogous
#9D5826 #9D9426 #6A9D26
triadic
#9D9426 #269D94 #94269D
tetradic
#9D9426 #269D58 #262F9D #9D266A
square
#9D9426 #269D58 #262F9D #9D266A
split-complementary
#9D9426 #266A9D #58269D
monochromatic
#3A370E #6C661A #9D9426 #CEC233 #D9D164

Accessibility & contrast

On white

3.14
#9D9426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#9D9426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9426
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9426#FFFFFF#000000##000000
##9D94261.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0F
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#A9897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9426;
/* rgb */ color: rgb(157, 148, 38);
/* oklch */ color: oklch(65.5% 0.126 104.6);
Tailwind
colors: {
  custom: {
    50: '#bdb369',
    500: '#9d9426',
    950: '#000000',
  },
}
SCSS
$custom: #9d9426;
$custom-light: #bdb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9426",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 38
  },
  "hsl": {
    "h": 55.462,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65481,
    "c": 0.12567,
    "h": 104.6
  },
  "luminance": 0.28488
}

Semantic roles & 50–950 ramp

primary
#9D9426
secondary
#6067BF
accent
#50E444
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9426

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

Preview Lab → · Contrast checker → · Palette generator →

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