#D2D54E#D2D54E

#D2D54E is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.6% C 0.155 H 110.5°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#D2D54E
RGBrgb(210, 213, 78)
HSLhsl(61, 62%, 57%)
HSVhsv(61, 63%, 84%)
CMYKcmyk(1.4%, 0%, 63.4%, 16.5%)
CIE-LABlab(82.83, -17.71, 63.95)
CIE-LCHlch(82.83, 66.35, 105.48°)
OKLaboklab(84.59% -0.0542 0.1448)
OKLCHoklch(84.59% 0.155 110.5)
XYZxyz(51.7493, 61.8415, 16.4168)
Luminance0.6184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D54E #514ED5
analogous
#D5944E #D2D54E #8FD54E
triadic
#D2D54E #4ED2D5 #D54ED2
tetradic
#D2D54E #4ED594 #514ED5 #D54E8F
square
#D2D54E #4ED594 #514ED5 #D54E8F
split-complementary
#D2D54E #4E8FD5 #944ED5
monochromatic
#868820 #B7BA2C #D2D54E #DFE17F #EBECB1

Accessibility & contrast

On white

1.57
#D2D54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#D2D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D54E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D54E#FFFFFF#000000##000000
##D2D54E1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3C
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d54e;
/* rgb */ color: rgb(210, 213, 78);
/* oklch */ color: oklch(84.6% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e186',
    500: '#d2d54e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d54e;
$custom-light: #e3e186;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d54e",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 61.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84587,
    "c": 0.15461,
    "h": 110.5
  },
  "luminance": 0.6184
}

Semantic roles & 50–950 ramp

primary
#D2D54E
secondary
#3B398F
accent
#43E547
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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