#D2CE40#D2CE40

#D2CE40 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.157 H 107.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D2CE40
RGBrgb(210, 206, 64)
HSLhsl(58, 62%, 54%)
HSVhsv(58, 70%, 82%)
CMYKcmyk(0%, 1.9%, 69.5%, 17.6%)
CIE-LABlab(80.86, -15.01, 67.33)
CIE-LCHlch(80.86, 68.98, 102.57°)
OKLaboklab(82.98% -0.048 0.1497)
OKLCHoklch(82.98% 0.157 107.8)
XYZxyz(49.5769, 58.2160, 13.4748)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE40 #4044D2
analogous
#D28540 #D2CE40 #8DD240
triadic
#D2CE40 #40D2CE #CE40D2
tetradic
#D2CE40 #40D285 #4044D2 #D2408D
square
#D2CE40 #40D285 #4044D2 #D2408D
split-complementary
#D2CE40 #408DD2 #8540D2
monochromatic
#7B781D #ACA929 #D2CE40 #DEDB72 #E9E7A3

Accessibility & contrast

On white

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

On black

12.64
#D2CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE40
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE40#FFFFFF#000000##000000
##D2CE401.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ce40;
/* rgb */ color: rgb(210, 206, 64);
/* oklch */ color: oklch(83.0% 0.157 107.8);
Tailwind
colors: {
  custom: {
    50: '#e3dc7e',
    500: '#d2ce40',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce40;
$custom-light: #e3dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce40",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 58.356,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82983,
    "c": 0.15722,
    "h": 107.8
  },
  "luminance": 0.58214
}

Semantic roles & 50–950 ramp

primary
#D2CE40
secondary
#343683
accent
#47E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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