#D2D54F#D2D54F

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

Color values

HEX#D2D54F
RGBrgb(210, 213, 79)
HSLhsl(61, 61%, 57%)
HSVhsv(61, 63%, 84%)
CMYKcmyk(1.4%, 0%, 62.9%, 16.5%)
CIE-LABlab(82.84, -17.65, 63.55)
CIE-LCHlch(82.84, 65.95, 105.52°)
OKLaboklab(84.6% -0.0539 0.1441)
OKLCHoklch(84.6% 0.154 110.5)
XYZxyz(51.7854, 61.8560, 16.6071)
Luminance0.6186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D54F #524FD5
analogous
#D5954F #D2D54F #8FD54F
triadic
#D2D54F #4FD2D5 #D54FD2
tetradic
#D2D54F #4FD595 #524FD5 #D54F8F
square
#D2D54F #4FD595 #524FD5 #D54F8F
split-complementary
#D2D54F #4F8FD5 #954FD5
monochromatic
#878921 #B7BA2C #D2D54F #DFE180 #EBEDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D54F#FFFFFF#000000##000000
##D2D54F1.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)
#E5CC3E
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d54f;
/* rgb */ color: rgb(210, 213, 79);
/* oklch */ color: oklch(84.6% 0.154 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e187',
    500: '#d2d54f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d54f;
$custom-light: #e3e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d54f",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 61.343,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84596,
    "c": 0.15387,
    "h": 110.5
  },
  "luminance": 0.61855
}

Semantic roles & 50–950 ramp

primary
#D2D54F
secondary
#3B398F
accent
#43E547
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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