#D2CE54#D2CE54

#D2CE54 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.143 H 107.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D2CE54
RGBrgb(210, 206, 84)
HSLhsl(58, 58%, 58%)
HSVhsv(58, 60%, 82%)
CMYKcmyk(0%, 1.9%, 60%, 17.6%)
CIE-LABlab(81.01, -13.84, 59.50)
CIE-LCHlch(81.01, 61.09, 103.09°)
OKLaboklab(83.15% -0.0426 0.1363)
OKLCHoklch(83.15% 0.143 107.4)
XYZxyz(50.2515, 58.4859, 17.0276)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE54 #5458D2
analogous
#D28F54 #D2CE54 #97D254
triadic
#D2CE54 #54D2CE #CE54D2
tetradic
#D2CE54 #54D28F #5458D2 #D25497
square
#D2CE54 #54D28F #5458D2 #D25497
split-complementary
#D2CE54 #5497D2 #8F54D2
monochromatic
#888524 #B8B431 #D2CE54 #DFDC84 #EBEAB5

Accessibility & contrast

On white

1.65
#D2CE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D2CE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE54
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE54#FFFFFF#000000##000000
##D2CE541.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC646
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce54;
/* rgb */ color: rgb(210, 206, 84);
/* oklch */ color: oklch(83.2% 0.143 107.4);
Tailwind
colors: {
  custom: {
    50: '#e3dc89',
    500: '#d2ce54',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce54;
$custom-light: #e3dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce54",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 58.095,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8315,
    "c": 0.14275,
    "h": 107.4
  },
  "luminance": 0.58484
}

Semantic roles & 50–950 ramp

primary
#D2CE54
secondary
#3C3E8E
accent
#4BE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CE54

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

Preview Lab → · Contrast checker → · Palette generator →

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