#D2CE5A#D2CE5A

#D2CE5A is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.138 H 107.2°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D2CE5A
RGBrgb(210, 206, 90)
HSLhsl(58, 57%, 59%)
HSVhsv(58, 57%, 82%)
CMYKcmyk(0%, 1.9%, 57.1%, 17.6%)
CIE-LABlab(81.06, -13.41, 56.94)
CIE-LCHlch(81.06, 58.50, 103.26°)
OKLaboklab(83.21% -0.0407 0.1316)
OKLCHoklch(83.21% 0.138 107.2)
XYZxyz(50.4966, 58.5839, 18.3187)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE5A #5A5ED2
analogous
#D2925A #D2CE5A #9AD25A
triadic
#D2CE5A #5AD2CE #CE5AD2
tetradic
#D2CE5A #5AD292 #5A5ED2 #D25A9A
square
#D2CE5A #5AD292 #5A5ED2 #D25A9A
split-complementary
#D2CE5A #5A9AD2 #925AD2
monochromatic
#8C8826 #BCB733 #D2CE5A #DFDC8A #ECEBBA

Accessibility & contrast

On white

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

On black

12.72
#D2CE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE5A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE5A#FFFFFF#000000##000000
##D2CE5A1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74E
Deuteranopia (green-blind)
#E0CB60
Tritanopia (blue-blind)
#E0C2B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce5a;
/* rgb */ color: rgb(210, 206, 90);
/* oklch */ color: oklch(83.2% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc8d',
    500: '#d2ce5a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce5a;
$custom-light: #e2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce5a",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 58,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83211,
    "c": 0.13773,
    "h": 107.2
  },
  "luminance": 0.58582
}

Semantic roles & 50–950 ramp

primary
#D2CE5A
secondary
#3E4192
accent
#4CE047
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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