#D2D234#D2D234

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

Color values

HEX#D2D234
RGBrgb(210, 210, 52)
HSLhsl(60, 64%, 51%)
HSVhsv(60, 75%, 82%)
CMYKcmyk(0%, 0%, 75.2%, 17.6%)
CIE-LABlab(81.86, -17.53, 72.33)
CIE-LCHlch(81.86, 74.43, 103.62°)
OKLaboklab(83.76% -0.0561 0.1582)
OKLCHoklch(83.76% 0.168 109.5)
XYZxyz(50.2466, 60.0443, 12.1910)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D234 #3434D2
analogous
#D28334 #D2D234 #83D234
triadic
#D2D234 #34D2D2 #D234D2
tetradic
#D2D234 #34D283 #3434D2 #D23483
square
#D2D234 #34D283 #3434D2 #D23483
split-complementary
#D2D234 #3483D2 #8334D2
monochromatic
#727219 #A4A424 #D2D234 #DDDD66 #E8E898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D234#FFFFFF#000000##000000
##D2D2341.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)
#E3C909
Deuteranopia (green-blind)
#E5CE41
Tritanopia (blue-blind)
#E1C4B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d234;
/* rgb */ color: rgb(210, 210, 52);
/* oklch */ color: oklch(83.8% 0.168 109.5);
Tailwind
colors: {
  custom: {
    50: '#e4df78',
    500: '#d2d234',
    950: '#000000',
  },
}
SCSS
$custom: #d2d234;
$custom-light: #e4df78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d234",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.83763,
    "c": 0.16786,
    "h": 109.5
  },
  "luminance": 0.60043
}

Semantic roles & 50–950 ramp

primary
#D2D234
secondary
#2F2F7B
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D234

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

Preview Lab → · Contrast checker → · Palette generator →

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