#D2CE4C#D2CE4C

#D2CE4C is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.1% C 0.149 H 107.5°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D2CE4C
RGBrgb(210, 206, 76)
HSLhsl(58, 60%, 56%)
HSVhsv(58, 64%, 82%)
CMYKcmyk(0%, 1.9%, 63.8%, 17.6%)
CIE-LABlab(80.94, -14.35, 62.78)
CIE-LCHlch(80.94, 64.40, 102.87°)
OKLaboklab(83.08% -0.0449 0.1421)
OKLCHoklch(83.08% 0.149 107.5)
XYZxyz(49.9559, 58.3676, 15.4707)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE4C #4C50D2
analogous
#D28B4C #D2CE4C #93D24C
triadic
#D2CE4C #4CD2CE #CE4CD2
tetradic
#D2CE4C #4CD28B #4C50D2 #D24C93
square
#D2CE4C #4CD28B #4C50D2 #D24C93
split-complementary
#D2CE4C #4C93D2 #8B4CD2
monochromatic
#838021 #B4B02D #D2CE4C #DEDB7D #EBE9AE

Accessibility & contrast

On white

1.66
#D2CE4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#D2CE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE4C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE4C#FFFFFF#000000##000000
##D2CE4C1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E1CB54
Tritanopia (blue-blind)
#E0C1B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce4c;
/* rgb */ color: rgb(210, 206, 76);
/* oklch */ color: oklch(83.1% 0.149 107.5);
Tailwind
colors: {
  custom: {
    50: '#e3dc84',
    500: '#d2ce4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce4c;
$custom-light: #e3dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce4c",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 76
  },
  "hsl": {
    "h": 58.209,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83077,
    "c": 0.14898,
    "h": 107.5
  },
  "luminance": 0.58366
}

Semantic roles & 50–950 ramp

primary
#D2CE4C
secondary
#383B8A
accent
#4AE345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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