#9D9927#9D9927

#9D9927 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#9D9927
RGBrgb(157, 153, 39)
HSLhsl(58, 60%, 38%)
HSVhsv(58, 75%, 62%)
CMYKcmyk(0%, 2.5%, 75.2%, 38.4%)
CIE-LABlab(61.74, -11.91, 56.36)
CIE-LCHlch(61.74, 57.61, 101.93°)
OKLaboklab(66.61% -0.0388 0.1239)
OKLCHoklch(66.61% 0.13 107.4)
XYZxyz(25.6631, 30.0979, 6.3767)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9927 #272B9D
analogous
#9D5E27 #9D9927 #669D27
triadic
#9D9927 #279D99 #99279D
tetradic
#9D9927 #279D5E #272B9D #9D2766
square
#9D9927 #279D5E #272B9D #9D2766
split-complementary
#9D9927 #27669D #5E279D
monochromatic
#3B390F #6C691B #9D9927 #CDC835 #D9D566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9927#FFFFFF#000000##000000
##9D99271.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)
#A6930F
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#A98F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d9927;
/* rgb */ color: rgb(157, 153, 39);
/* oklch */ color: oklch(66.6% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#bdb66a',
    500: '#9d9927',
    950: '#000000',
  },
}
SCSS
$custom: #9d9927;
$custom-light: #bdb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9927",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 57.966,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.12983,
    "h": 107.4
  },
  "luminance": 0.30097
}

Semantic roles & 50–950 ramp

primary
#9D9927
secondary
#6164BF
accent
#4AE344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9927

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

Preview Lab → · Contrast checker → · Palette generator →

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