#D2D54B#D2D54B

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

Color values

HEX#D2D54B
RGBrgb(210, 213, 75)
HSLhsl(61, 62%, 56%)
HSVhsv(61, 65%, 84%)
CMYKcmyk(1.4%, 0%, 64.8%, 16.5%)
CIE-LABlab(82.81, -17.89, 65.12)
CIE-LCHlch(82.81, 67.53, 105.36°)
OKLaboklab(84.56% -0.055 0.1468)
OKLCHoklch(84.56% 0.157 110.5)
XYZxyz(51.6442, 61.7995, 15.8633)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D54B #4E4BD5
analogous
#D5934B #D2D54B #8DD54B
triadic
#D2D54B #4BD2D5 #D54BD2
tetradic
#D2D54B #4BD593 #4E4BD5 #D54B8D
square
#D2D54B #4BD593 #4E4BD5 #D54B8D
split-complementary
#D2D54B #4B8DD5 #934BD5
monochromatic
#84861F #B5B82B #D2D54B #DEE17D #EBECAE

Accessibility & contrast

On white

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

On black

13.36
#D2D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D54B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D54B#FFFFFF#000000##000000
##D2D54B1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d54b;
/* rgb */ color: rgb(210, 213, 75);
/* oklch */ color: oklch(84.6% 0.157 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e184',
    500: '#d2d54b',
    950: '#000000',
  },
}
SCSS
$custom: #d2d54b;
$custom-light: #e3e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d54b",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 61.304,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84562,
    "c": 0.15679,
    "h": 110.5
  },
  "luminance": 0.61798
}

Semantic roles & 50–950 ramp

primary
#D2D54B
secondary
#39378D
accent
#43E546
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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