#D2D235#D2D235

#D2D235 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.167 H 109.5°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D2D235
RGBrgb(210, 210, 53)
HSLhsl(60, 64%, 52%)
HSVhsv(60, 75%, 82%)
CMYKcmyk(0%, 0%, 74.8%, 17.6%)
CIE-LABlab(81.87, -17.49, 72.03)
CIE-LCHlch(81.87, 74.12, 103.65°)
OKLaboklab(83.77% -0.0559 0.1577)
OKLCHoklch(83.77% 0.167 109.5)
XYZxyz(50.2694, 60.0534, 12.3109)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D235 #3535D2
analogous
#D28435 #D2D235 #84D235
triadic
#D2D235 #35D2D2 #D235D2
tetradic
#D2D235 #35D284 #3535D2 #D23584
square
#D2D235 #35D284 #3535D2 #D23584
split-complementary
#D2D235 #3584D2 #8435D2
monochromatic
#73731A #A5A525 #D2D235 #DDDD67 #E8E899

Accessibility & contrast

On white

1.61
#D2D235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D2D235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D235
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D235#FFFFFF#000000##000000
##D2D2351.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C90D
Deuteranopia (green-blind)
#E5CE42
Tritanopia (blue-blind)
#E1C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d235;
/* rgb */ color: rgb(210, 210, 53);
/* oklch */ color: oklch(83.8% 0.167 109.5);
Tailwind
colors: {
  custom: {
    50: '#e4df79',
    500: '#d2d235',
    950: '#000000',
  },
}
SCSS
$custom: #d2d235;
$custom-light: #e4df79;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d235",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 53
  },
  "hsl": {
    "h": 60,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83768,
    "c": 0.16736,
    "h": 109.5
  },
  "luminance": 0.60052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D235

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

Preview Lab → · Contrast checker → · Palette generator →

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