#9D9D1C#9D9D1C

#9D9D1C is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.139 H 109.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9D9D1C
RGBrgb(157, 157, 28)
HSLhsl(60, 70%, 36%)
HSVhsv(60, 82%, 62%)
CMYKcmyk(0%, 0%, 82.2%, 38.4%)
CIE-LABlab(62.82, -14.43, 60.75)
CIE-LCHlch(62.82, 62.44, 103.37°)
OKLaboklab(67.45% -0.0468 0.1312)
OKLCHoklch(67.45% 0.139 109.6)
XYZxyz(26.1722, 31.3667, 5.7741)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9D1C #1C1C9D
analogous
#9D5D1C #9D9D1C #5D9D1C
triadic
#9D9D1C #1C9D9D #9D1C9D
tetradic
#9D9D1C #1C9D5D #1C1C9D #9D1C5D
square
#9D9D1C #1C9D5D #1C1C9D #9D1C5D
split-complementary
#9D9D1C #1C5D9D #5D1C9D
monochromatic
#353509 #696913 #9D9D1C #D1D125 #E0E053

Accessibility & contrast

On white

2.89
#9D9D1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#9D9D1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9D1C
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9D1C#FFFFFF#000000##000000
##9D9D1C1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#A99286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9d1c;
/* rgb */ color: rgb(157, 157, 28);
/* oklch */ color: oklch(67.5% 0.139 109.6);
Tailwind
colors: {
  custom: {
    50: '#beb966',
    500: '#9d9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #9d9d1c;
$custom-light: #beb966;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9d1c",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67451,
    "c": 0.13927,
    "h": 109.6
  },
  "luminance": 0.31366
}

Semantic roles & 50–950 ramp

primary
#9D9D1C
secondary
#5151C3
accent
#3BED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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