#D2CA54#D2CA54

#D2CA54 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.139 H 105.4°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D2CA54
RGBrgb(210, 202, 84)
HSLhsl(56, 58%, 58%)
HSVhsv(56, 60%, 82%)
CMYKcmyk(0%, 3.8%, 60%, 17.6%)
CIE-LABlab(79.95, -11.82, 58.34)
CIE-LCHlch(79.95, 59.53, 101.45°)
OKLaboklab(82.3% -0.0369 0.1338)
OKLCHoklch(82.3% 0.139 105.4)
XYZxyz(49.3008, 56.5844, 16.7107)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA54 #545CD2
analogous
#D28B54 #D2CA54 #9BD254
triadic
#D2CA54 #54D2CA #CA54D2
tetradic
#D2CA54 #54D28B #545CD2 #D2549B
square
#D2CA54 #54D28B #545CD2 #D2549B
split-complementary
#D2CA54 #549BD2 #8B54D2
monochromatic
#888124 #B8B031 #D2CA54 #DFD984 #EBE8B5

Accessibility & contrast

On white

1.71
#D2CA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D2CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA54
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA54#FFFFFF#000000##000000
##D2CA541.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DDC95B
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca54;
/* rgb */ color: rgb(210, 202, 84);
/* oklch */ color: oklch(82.3% 0.139 105.4);
Tailwind
colors: {
  custom: {
    50: '#e3d989',
    500: '#d2ca54',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca54;
$custom-light: #e3d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca54",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 56.19,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82304,
    "c": 0.13878,
    "h": 105.4
  },
  "luminance": 0.56583
}

Semantic roles & 50–950 ramp

primary
#D2CA54
secondary
#3C418E
accent
#50E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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