#D9C653#D9C653

#D9C653 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.136 H 99.9°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D9C653
RGBrgb(217, 198, 83)
HSLhsl(51, 64%, 59%)
HSVhsv(51, 62%, 85%)
CMYKcmyk(0%, 8.8%, 61.8%, 14.9%)
CIE-LABlab(79.48, -6.93, 58.44)
CIE-LCHlch(79.48, 58.85, 96.76°)
OKLaboklab(82.08% -0.0234 0.1337)
OKLCHoklch(82.08% 0.136 99.9)
XYZxyz(50.3727, 55.7666, 16.2926)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C653 #5366D9
analogous
#D98353 #D9C653 #A9D953
triadic
#D9C653 #53D9C6 #C653D9
tetradic
#D9C653 #53D983 #5366D9 #D953A9
square
#D9C653 #53D983 #5366D9 #D953A9
split-complementary
#D9C653 #53A9D9 #8353D9
monochromatic
#918120 #C4AE2B #D9C653 #E4D785 #EFE7B7

Accessibility & contrast

On white

1.73
#D9C653 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D9C653 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C653
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C653#FFFFFF#000000##000000
##D9C6531.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C146
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#E9B9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c653;
/* rgb */ color: rgb(217, 198, 83);
/* oklch */ color: oklch(82.1% 0.136 99.9);
Tailwind
colors: {
  custom: {
    50: '#e8d788',
    500: '#d9c653',
    950: '#000000',
  },
}
SCSS
$custom: #d9c653;
$custom-light: #e8d788;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c653",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 83
  },
  "hsl": {
    "h": 51.493,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82075,
    "c": 0.13574,
    "h": 99.9
  },
  "luminance": 0.55764
}

Semantic roles & 50–950 ramp

primary
#D9C653
secondary
#3A4797
accent
#58E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C653

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

Preview Lab → · Contrast checker → · Palette generator →

#D9C653 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva