#D2D135#D2D135

#D2D135 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.166 H 109.1°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D2D135
RGBrgb(210, 209, 53)
HSLhsl(60, 64%, 52%)
HSVhsv(60, 75%, 82%)
CMYKcmyk(0%, 0.5%, 74.8%, 17.6%)
CIE-LABlab(81.60, -17.00, 71.78)
CIE-LCHlch(81.60, 73.76, 103.32°)
OKLaboklab(83.55% -0.0546 0.1572)
OKLCHoklch(83.55% 0.166 109.1)
XYZxyz(50.0233, 59.5612, 12.2289)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D135 #3536D2
analogous
#D28335 #D2D135 #85D235
triadic
#D2D135 #35D2D1 #D135D2
tetradic
#D2D135 #35D283 #3536D2 #D23585
square
#D2D135 #35D283 #3536D2 #D23585
split-complementary
#D2D135 #3585D2 #8335D2
monochromatic
#73721A #A5A425 #D2D135 #DDDC67 #E8E899

Accessibility & contrast

On white

1.63
#D2D135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D2D135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D135
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D135#FFFFFF#000000##000000
##D2D1351.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C80E
Deuteranopia (green-blind)
#E4CD42
Tritanopia (blue-blind)
#E1C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d135;
/* rgb */ color: rgb(210, 209, 53);
/* oklch */ color: oklch(83.6% 0.166 109.1);
Tailwind
colors: {
  custom: {
    50: '#e4de78',
    500: '#d2d135',
    950: '#000000',
  },
}
SCSS
$custom: #d2d135;
$custom-light: #e4de78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d135",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 53
  },
  "hsl": {
    "h": 59.618,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83554,
    "c": 0.1664,
    "h": 109.1
  },
  "luminance": 0.5956
}

Semantic roles & 50–950 ramp

primary
#D2D135
secondary
#30307C
accent
#42E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D135

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

Preview Lab → · Contrast checker → · Palette generator →

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