#D2CE4B#D2CE4B

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

Color values

HEX#D2CE4B
RGBrgb(210, 206, 75)
HSLhsl(58, 60%, 56%)
HSVhsv(58, 64%, 82%)
CMYKcmyk(0%, 1.9%, 64.3%, 17.6%)
CIE-LABlab(80.94, -14.41, 63.18)
CIE-LCHlch(80.94, 64.80, 102.85°)
OKLaboklab(83.07% -0.0452 0.1427)
OKLCHoklch(83.07% 0.15 107.6)
XYZxyz(49.9214, 58.3538, 15.2890)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE4B #4B4FD2
analogous
#D28A4B #D2CE4B #92D24B
triadic
#D2CE4B #4BD2CE #CE4BD2
tetradic
#D2CE4B #4BD28A #4B4FD2 #D24B92
square
#D2CE4B #4BD28A #4B4FD2 #D24B92
split-complementary
#D2CE4B #4B92D2 #8A4BD2
monochromatic
#827F21 #B3AF2D #D2CE4B #DEDB7C #EAE9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CE4B#FFFFFF#000000##000000
##D2CE4B1.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)
#DEC63A
Deuteranopia (green-blind)
#E1CB53
Tritanopia (blue-blind)
#E1C1B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce4b;
/* rgb */ color: rgb(210, 206, 75);
/* oklch */ color: oklch(83.1% 0.150 107.6);
Tailwind
colors: {
  custom: {
    50: '#e3dc84',
    500: '#d2ce4b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce4b;
$custom-light: #e3dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce4b",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 58.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83068,
    "c": 0.14972,
    "h": 107.6
  },
  "luminance": 0.58352
}

Semantic roles & 50–950 ramp

primary
#D2CE4B
secondary
#383A89
accent
#49E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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