#D2CE45#D2CE45

#D2CE45 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.154 H 107.7°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D2CE45
RGBrgb(210, 206, 69)
HSLhsl(58, 61%, 55%)
HSVhsv(58, 67%, 82%)
CMYKcmyk(0%, 1.9%, 67.1%, 17.6%)
CIE-LABlab(80.89, -14.75, 65.49)
CIE-LCHlch(80.89, 67.13, 102.69°)
OKLaboklab(83.02% -0.0468 0.1467)
OKLCHoklch(83.02% 0.154 107.7)
XYZxyz(49.7256, 58.2755, 14.2580)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE45 #4549D2
analogous
#D28845 #D2CE45 #8FD245
triadic
#D2CE45 #45D2CE #CE45D2
tetradic
#D2CE45 #45D288 #4549D2 #D2458F
square
#D2CE45 #45D288 #4549D2 #D2458F
split-complementary
#D2CE45 #458FD2 #8845D2
monochromatic
#7E7B1F #AFAC2A #D2CE45 #DEDB76 #EAE8A8

Accessibility & contrast

On white

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

On black

12.65
#D2CE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE45
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE45#FFFFFF#000000##000000
##D2CE451.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC631
Deuteranopia (green-blind)
#E1CB4E
Tritanopia (blue-blind)
#E1C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce45;
/* rgb */ color: rgb(210, 206, 69);
/* oklch */ color: oklch(83.0% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e3dc80',
    500: '#d2ce45',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce45;
$custom-light: #e3dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce45",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 58.298,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8302,
    "c": 0.15395,
    "h": 107.7
  },
  "luminance": 0.58274
}

Semantic roles & 50–950 ramp

primary
#D2CE45
secondary
#363886
accent
#48E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CE45

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

Preview Lab → · Contrast checker → · Palette generator →

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