#D2D45F#D2D45F

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

Color values

HEX#D2D45F
RGBrgb(210, 212, 95)
HSLhsl(61, 58%, 60%)
HSVhsv(61, 55%, 83%)
CMYKcmyk(0.9%, 0%, 55.2%, 16.9%)
CIE-LABlab(82.71, -16.04, 56.56)
CIE-LCHlch(82.71, 58.79, 105.83°)
OKLaboklab(84.54% -0.0477 0.1313)
OKLCHoklch(84.54% 0.14 109.9)
XYZxyz(52.1887, 61.6161, 19.9682)
Luminance0.6161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D45F #615FD4
analogous
#D49C5F #D2D45F #97D45F
triadic
#D2D45F #5FD2D4 #D45FD2
tetradic
#D2D45F #5FD49C #615FD4 #D45F97
square
#D2D45F #5FD49C #615FD4 #D45F97
split-complementary
#D2D45F #5F97D4 #9C5FD4
monochromatic
#909127 #BFC234 #D2D45F #E0E18F #EDEEBF

Accessibility & contrast

On white

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

On black

13.32
#D2D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D45F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D45F#FFFFFF#000000##000000
##D2D45F1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d45f;
/* rgb */ color: rgb(210, 212, 95);
/* oklch */ color: oklch(84.5% 0.140 109.9);
Tailwind
colors: {
  custom: {
    50: '#e2e190',
    500: '#d2d45f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d45f;
$custom-light: #e2e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d45f",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 61.026,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84538,
    "c": 0.13972,
    "h": 109.9
  },
  "luminance": 0.61615
}

Semantic roles & 50–950 ramp

primary
#D2D45F
secondary
#424097
accent
#20C523
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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