#D2C635#D2C635

#D2C635 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.156 H 104.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D2C635
RGBrgb(210, 198, 53)
HSLhsl(55, 64%, 52%)
HSVhsv(55, 75%, 82%)
CMYKcmyk(0%, 5.7%, 74.8%, 17.6%)
CIE-LABlab(78.66, -11.48, 69.06)
CIE-LCHlch(78.66, 70.01, 99.44°)
OKLaboklab(81.22% -0.0391 0.1514)
OKLCHoklch(81.22% 0.156 104.5)
XYZxyz(47.4171, 54.3488, 11.3601)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C635 #3541D2
analogous
#D27835 #D2C635 #90D235
triadic
#D2C635 #35D2C6 #C635D2
tetradic
#D2C635 #35D278 #3541D2 #D23590
square
#D2C635 #35D278 #3541D2 #D23590
split-complementary
#D2C635 #3590D2 #7835D2
monochromatic
#736C1A #A59B25 #D2C635 #DDD467 #E8E299

Accessibility & contrast

On white

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

On black

11.87
#D2C635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C635
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C635#FFFFFF#000000##000000
##D2C6351.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF16
Deuteranopia (green-blind)
#DCC640
Tritanopia (blue-blind)
#E2B8AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c635;
/* rgb */ color: rgb(210, 198, 53);
/* oklch */ color: oklch(81.2% 0.156 104.5);
Tailwind
colors: {
  custom: {
    50: '#e4d677',
    500: '#d2c635',
    950: '#000000',
  },
}
SCSS
$custom: #d2c635;
$custom-light: #e4d677;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c635",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 53
  },
  "hsl": {
    "h": 55.414,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81215,
    "c": 0.15639,
    "h": 104.5
  },
  "luminance": 0.54347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C635

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

Preview Lab → · Contrast checker → · Palette generator →

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