#D2C354#D2C354

#D2C354 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.132 H 101.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D2C354
RGBrgb(210, 195, 84)
HSLhsl(53, 58%, 58%)
HSVhsv(53, 60%, 82%)
CMYKcmyk(0%, 7.1%, 60%, 17.6%)
CIE-LABlab(78.10, -8.25, 56.31)
CIE-LCHlch(78.10, 56.91, 98.34°)
OKLaboklab(80.83% -0.0267 0.1295)
OKLCHoklch(80.83% 0.132 101.7)
XYZxyz(47.6955, 53.3738, 16.1756)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C354 #5463D2
analogous
#D28454 #D2C354 #A2D254
triadic
#D2C354 #54D2C3 #C354D2
tetradic
#D2C354 #54D284 #5463D2 #D254A2
square
#D2C354 #54D284 #5463D2 #D254A2
split-complementary
#D2C354 #54A2D2 #8454D2
monochromatic
#887C24 #B8A831 #D2C354 #DFD484 #EBE5B5

Accessibility & contrast

On white

1.80
#D2C354 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#D2C354 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C354
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C354#FFFFFF#000000##000000
##D2C3541.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#E1B6AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c354;
/* rgb */ color: rgb(210, 195, 84);
/* oklch */ color: oklch(80.8% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#e3d488',
    500: '#d2c354',
    950: '#000000',
  },
}
SCSS
$custom: #d2c354;
$custom-light: #e3d488;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c354",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 84
  },
  "hsl": {
    "h": 52.857,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80833,
    "c": 0.13219,
    "h": 101.7
  },
  "luminance": 0.53372
}

Semantic roles & 50–950 ramp

primary
#D2C354
secondary
#3C468E
accent
#59E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C354

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

Preview Lab → · Contrast checker → · Palette generator →

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