#D2C735#D2C735

#D2C735 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.157 H 104.9°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D2C735
RGBrgb(210, 199, 53)
HSLhsl(56, 64%, 52%)
HSVhsv(56, 75%, 82%)
CMYKcmyk(0%, 5.2%, 74.8%, 17.6%)
CIE-LABlab(78.93, -11.99, 69.31)
CIE-LCHlch(78.93, 70.34, 99.81°)
OKLaboklab(81.43% -0.0405 0.152)
OKLCHoklch(81.43% 0.157 104.9)
XYZxyz(47.6464, 54.8074, 11.4366)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C735 #3540D2
analogous
#D27935 #D2C735 #8FD235
triadic
#D2C735 #35D2C7 #C735D2
tetradic
#D2C735 #35D279 #3540D2 #D2358F
square
#D2C735 #35D279 #3540D2 #D2358F
split-complementary
#D2C735 #358FD2 #7935D2
monochromatic
#736D1A #A59C25 #D2C735 #DDD567 #E8E399

Accessibility & contrast

On white

1.76
#D2C735 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#D2C735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C735
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C735#FFFFFF#000000##000000
##D2C7351.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C015
Deuteranopia (green-blind)
#DDC640
Tritanopia (blue-blind)
#E2B9AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c735;
/* rgb */ color: rgb(210, 199, 53);
/* oklch */ color: oklch(81.4% 0.157 104.9);
Tailwind
colors: {
  custom: {
    50: '#e4d777',
    500: '#d2c735',
    950: '#000000',
  },
}
SCSS
$custom: #d2c735;
$custom-light: #e4d777;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c735",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 53
  },
  "hsl": {
    "h": 55.796,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81426,
    "c": 0.15727,
    "h": 104.9
  },
  "luminance": 0.54806
}

Semantic roles & 50–950 ramp

primary
#D2C735
secondary
#30357C
accent
#4DE741
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161409
muted
#85837D

Preview Lab

Preview with #D2C735

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

Preview Lab → · Contrast checker → · Palette generator →

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