#9D9726#9D9726

#9D9726 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.2% C 0.128 H 106.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9D9726
RGBrgb(157, 151, 38)
HSLhsl(57, 61%, 38%)
HSVhsv(57, 76%, 62%)
CMYKcmyk(0%, 3.8%, 75.8%, 38.4%)
CIE-LABlab(61.17, -10.90, 56.18)
CIE-LCHlch(61.17, 57.23, 100.98°)
OKLaboklab(66.15% -0.0361 0.1233)
OKLCHoklch(66.15% 0.128 106.3)
XYZxyz(25.3221, 29.4422, 6.1824)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9726 #262C9D
analogous
#9D5B26 #9D9726 #679D26
triadic
#9D9726 #269D97 #97269D
tetradic
#9D9726 #269D5B #262C9D #9D2667
square
#9D9726 #269D5B #262C9D #9D2667
split-complementary
#9D9726 #26679D #5B269D
monochromatic
#3A380E #6C681A #9D9726 #CEC633 #D9D464

Accessibility & contrast

On white

3.05
#9D9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9D9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9726
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9726#FFFFFF#000000##000000
##9D97261.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910D
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#A98D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9726;
/* rgb */ color: rgb(157, 151, 38);
/* oklch */ color: oklch(66.2% 0.128 106.3);
Tailwind
colors: {
  custom: {
    50: '#bdb56a',
    500: '#9d9726',
    950: '#000000',
  },
}
SCSS
$custom: #9d9726;
$custom-light: #bdb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9726",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 56.975,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66152,
    "c": 0.12848,
    "h": 106.3
  },
  "luminance": 0.29441
}

Semantic roles & 50–950 ramp

primary
#9D9726
secondary
#6065BF
accent
#4CE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9726

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

Preview Lab → · Contrast checker → · Palette generator →

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