#D2D245#D2D245

#D2D245 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.158 H 109.4°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D2D245
RGBrgb(210, 210, 69)
HSLhsl(60, 61%, 55%)
HSVhsv(60, 67%, 82%)
CMYKcmyk(0%, 0%, 67.1%, 17.6%)
CIE-LABlab(81.96, -16.74, 66.57)
CIE-LCHlch(81.96, 68.64, 104.12°)
OKLaboklab(83.87% -0.0524 0.149)
OKLCHoklch(83.87% 0.158 109.4)
XYZxyz(50.7008, 60.2260, 14.5831)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D245 #4545D2
analogous
#D28C45 #D2D245 #8CD245
triadic
#D2D245 #45D2D2 #D245D2
tetradic
#D2D245 #45D28C #4545D2 #D2458C
square
#D2D245 #45D28C #4545D2 #D2458C
split-complementary
#D2D245 #458CD2 #8C45D2
monochromatic
#7E7E1F #AFAF2A #D2D245 #DEDE76 #EAEAA8

Accessibility & contrast

On white

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

On black

13.04
#D2D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D245
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D245#FFFFFF#000000##000000
##D2D2451.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C930
Deuteranopia (green-blind)
#E4CE4F
Tritanopia (blue-blind)
#E0C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d245;
/* rgb */ color: rgb(210, 210, 69);
/* oklch */ color: oklch(83.9% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#e3df81',
    500: '#d2d245',
    950: '#000000',
  },
}
SCSS
$custom: #d2d245;
$custom-light: #e3df81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d245",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83873,
    "c": 0.15789,
    "h": 109.4
  },
  "luminance": 0.60224
}

Semantic roles & 50–950 ramp

primary
#D2D245
secondary
#363686
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D245

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

Preview Lab → · Contrast checker → · Palette generator →

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