#D2C935#D2C935

#D2C935 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.159 H 105.8°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D2C935
RGBrgb(210, 201, 53)
HSLhsl(57, 64%, 52%)
HSVhsv(57, 75%, 82%)
CMYKcmyk(0%, 4.3%, 74.8%, 17.6%)
CIE-LABlab(79.46, -13.00, 69.80)
CIE-LCHlch(79.46, 71.00, 100.55°)
OKLaboklab(81.85% -0.0434 0.153)
OKLCHoklch(81.85% 0.159 105.8)
XYZxyz(48.1096, 55.7338, 11.5910)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C935 #353ED2
analogous
#D27B35 #D2C935 #8CD235
triadic
#D2C935 #35D2C9 #C935D2
tetradic
#D2C935 #35D27B #353ED2 #D2358C
square
#D2C935 #35D27B #353ED2 #D2358C
split-complementary
#D2C935 #358CD2 #7B35D2
monochromatic
#736E1A #A59E25 #D2C935 #DDD667 #E8E499

Accessibility & contrast

On white

1.73
#D2C935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D2C935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C935
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C935#FFFFFF#000000##000000
##D2C9351.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC214
Deuteranopia (green-blind)
#DEC840
Tritanopia (blue-blind)
#E2BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c935;
/* rgb */ color: rgb(210, 201, 53);
/* oklch */ color: oklch(81.8% 0.159 105.8);
Tailwind
colors: {
  custom: {
    50: '#e4d978',
    500: '#d2c935',
    950: '#000000',
  },
}
SCSS
$custom: #d2c935;
$custom-light: #e4d978;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c935",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 56.561,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.8185,
    "c": 0.15903,
    "h": 105.8
  },
  "luminance": 0.55732
}

Semantic roles & 50–950 ramp

primary
#D2C935
secondary
#30347C
accent
#4BE741
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C935

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

Preview Lab → · Contrast checker → · Palette generator →

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