#D2D54D#D2D54D

#D2D54D 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#D2D54D
RGBrgb(210, 213, 77)
HSLhsl(61, 62%, 57%)
HSVhsv(61, 64%, 84%)
CMYKcmyk(1.4%, 0%, 63.8%, 16.5%)
CIE-LABlab(82.82, -17.77, 64.34)
CIE-LCHlch(82.82, 66.75, 105.44°)
OKLaboklab(84.58% -0.0544 0.1455)
OKLCHoklch(84.58% 0.155 110.5)
XYZxyz(51.7137, 61.8273, 16.2295)
Luminance0.6183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D54D #504DD5
analogous
#D5944D #D2D54D #8ED54D
triadic
#D2D54D #4DD2D5 #D54DD2
tetradic
#D2D54D #4DD594 #504DD5 #D54D8E
square
#D2D54D #4DD594 #504DD5 #D54D8E
split-complementary
#D2D54D #4D8ED5 #944DD5
monochromatic
#858820 #B6B92C #D2D54D #DFE17F #EBECB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D54D#FFFFFF#000000##000000
##D2D54D1.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)
#E5CC3B
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d54d;
/* rgb */ color: rgb(210, 213, 77);
/* oklch */ color: oklch(84.6% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e185',
    500: '#d2d54d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d54d;
$custom-light: #e3e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d54d",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 61.324,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84579,
    "c": 0.15535,
    "h": 110.5
  },
  "luminance": 0.61826
}

Semantic roles & 50–950 ramp

primary
#D2D54D
secondary
#3A388E
accent
#43E546
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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