#D2C435#D2C435

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

Color values

HEX#D2C435
RGBrgb(210, 196, 53)
HSLhsl(55, 64%, 52%)
HSVhsv(55, 75%, 82%)
CMYKcmyk(0%, 6.7%, 74.8%, 17.6%)
CIE-LABlab(78.13, -10.47, 68.57)
CIE-LCHlch(78.13, 69.36, 98.68°)
OKLaboklab(80.79% -0.0363 0.1504)
OKLCHoklch(80.79% 0.155 103.6)
XYZxyz(46.9630, 53.4405, 11.2088)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C435 #3543D2
analogous
#D27635 #D2C435 #92D235
triadic
#D2C435 #35D2C4 #C435D2
tetradic
#D2C435 #35D276 #3543D2 #D23592
square
#D2C435 #35D276 #3543D2 #D23592
split-complementary
#D2C435 #3592D2 #7635D2
monochromatic
#736B1A #A59A25 #D2C435 #DDD367 #E8E199

Accessibility & contrast

On white

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

On black

11.69
#D2C435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C435
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C435#FFFFFF#000000##000000
##D2C4351.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD17
Deuteranopia (green-blind)
#DAC440
Tritanopia (blue-blind)
#E2B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c435;
/* rgb */ color: rgb(210, 196, 53);
/* oklch */ color: oklch(80.8% 0.155 103.6);
Tailwind
colors: {
  custom: {
    50: '#e4d577',
    500: '#d2c435',
    950: '#000000',
  },
}
SCSS
$custom: #d2c435;
$custom-light: #e4d577;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c435",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 53
  },
  "hsl": {
    "h": 54.65,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80793,
    "c": 0.15468,
    "h": 103.6
  },
  "luminance": 0.53439
}

Semantic roles & 50–950 ramp

primary
#D2C435
secondary
#30367C
accent
#50E741
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161409
muted
#85837D

Preview Lab

Preview with #D2C435

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

Preview Lab → · Contrast checker → · Palette generator →

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