#D9C353#D9C353

#D9C353 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.133 H 98.2°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D9C353
RGBrgb(217, 195, 83)
HSLhsl(50, 64%, 59%)
HSVhsv(50, 62%, 85%)
CMYKcmyk(0%, 10.1%, 61.8%, 14.9%)
CIE-LABlab(78.70, -5.39, 57.59)
CIE-LCHlch(78.70, 57.84, 95.34°)
OKLaboklab(81.46% -0.019 0.1319)
OKLCHoklch(81.46% 0.133 98.2)
XYZxyz(49.6938, 54.4087, 16.0663)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C353 #5369D9
analogous
#D98053 #D9C353 #ACD953
triadic
#D9C353 #53D9C3 #C353D9
tetradic
#D9C353 #53D980 #5369D9 #D953AC
square
#D9C353 #53D980 #5369D9 #D953AC
split-complementary
#D9C353 #53ACD9 #8053D9
monochromatic
#917F20 #C4AB2B #D9C353 #E4D485 #EFE6B7

Accessibility & contrast

On white

1.77
#D9C353 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D9C353 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C353
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C353#FFFFFF#000000##000000
##D9C3531.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE46
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#E9B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c353;
/* rgb */ color: rgb(217, 195, 83);
/* oklch */ color: oklch(81.5% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#e8d488',
    500: '#d9c353',
    950: '#000000',
  },
}
SCSS
$custom: #d9c353;
$custom-light: #e8d488;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c353",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 83
  },
  "hsl": {
    "h": 50.149,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81456,
    "c": 0.13325,
    "h": 98.2
  },
  "luminance": 0.54406
}

Semantic roles & 50–950 ramp

primary
#D9C353
secondary
#3A4997
accent
#5CE741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C353

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

Preview Lab → · Contrast checker → · Palette generator →

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