#9D991C#9D991C

#9D991C is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.135 H 107.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D991C
RGBrgb(157, 153, 28)
HSLhsl(58, 70%, 36%)
HSVhsv(58, 82%, 62%)
CMYKcmyk(0%, 2.5%, 82.2%, 38.4%)
CIE-LABlab(61.68, -12.34, 59.77)
CIE-LCHlch(61.68, 61.03, 101.66°)
OKLaboklab(66.55% -0.0409 0.1291)
OKLCHoklch(66.55% 0.135 107.6)
XYZxyz(25.5065, 30.0353, 5.5522)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D991C #1C209D
analogous
#9D591C #9D991C #619D1C
triadic
#9D991C #1C9D99 #991C9D
tetradic
#9D991C #1C9D59 #1C209D #9D1C61
square
#9D991C #1C9D59 #1C209D #9D1C61
split-complementary
#9D991C #1C619D #591C9D
monochromatic
#353409 #696613 #9D991C #D1CC25 #E0DC53

Accessibility & contrast

On white

3.00
#9D991C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#9D991C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D991C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D991C#FFFFFF#000000##000000
##9D991C1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d991c;
/* rgb */ color: rgb(157, 153, 28);
/* oklch */ color: oklch(66.5% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#beb665',
    500: '#9d991c',
    950: '#000000',
  },
}
SCSS
$custom: #9d991c;
$custom-light: #beb665;
$custom-dark: #000000;
JSON
{
  "hex": "#9d991c",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 58.14,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66547,
    "c": 0.13542,
    "h": 107.6
  },
  "luminance": 0.30034
}

Semantic roles & 50–950 ramp

primary
#9D991C
secondary
#5155C3
accent
#41ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D991C

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

Preview Lab → · Contrast checker → · Palette generator →

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