#D2D45C#D2D45C

#D2D45C is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.5% C 0.142 H 110.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D2D45C
RGBrgb(210, 212, 92)
HSLhsl(61, 58%, 60%)
HSVhsv(61, 57%, 83%)
CMYKcmyk(0.9%, 0%, 56.6%, 16.9%)
CIE-LABlab(82.68, -16.26, 57.86)
CIE-LCHlch(82.68, 60.10, 105.70°)
OKLaboklab(84.51% -0.0486 0.1338)
OKLCHoklch(84.51% 0.142 110)
XYZxyz(52.0550, 61.5626, 19.2638)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D45C #5E5CD4
analogous
#D49A5C #D2D45C #96D45C
triadic
#D2D45C #5CD2D4 #D45CD2
tetradic
#D2D45C #5CD49A #5E5CD4 #D45C96
square
#D2D45C #5CD49A #5E5CD4 #D45C96
split-complementary
#D2D45C #5C96D4 #9A5CD4
monochromatic
#8E9026 #BEC033 #D2D45C #DFE18C #EDEEBD

Accessibility & contrast

On white

1.58
#D2D45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D2D45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D45C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D45C#FFFFFF#000000##000000
##D2D45C1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4F
Deuteranopia (green-blind)
#E4D063
Tritanopia (blue-blind)
#DFC8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d45c;
/* rgb */ color: rgb(210, 212, 92);
/* oklch */ color: oklch(84.5% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2e18e',
    500: '#d2d45c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d45c;
$custom-light: #e2e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d45c",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 61,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84506,
    "c": 0.14234,
    "h": 110
  },
  "luminance": 0.61561
}

Semantic roles & 50–950 ramp

primary
#D2D45C
secondary
#403F95
accent
#46E149
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D45C

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

Preview Lab → · Contrast checker → · Palette generator →

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