#D2CE47#D2CE47

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

Color values

HEX#D2CE47
RGBrgb(210, 206, 71)
HSLhsl(58, 61%, 55%)
HSVhsv(58, 66%, 82%)
CMYKcmyk(0%, 1.9%, 66.2%, 17.6%)
CIE-LABlab(80.91, -14.64, 64.73)
CIE-LCHlch(80.91, 66.37, 102.74°)
OKLaboklab(83.04% -0.0462 0.1454)
OKLCHoklch(83.04% 0.153 107.6)
XYZxyz(49.7887, 58.3008, 14.5905)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE47 #474BD2
analogous
#D28847 #D2CE47 #91D247
triadic
#D2CE47 #47D2CE #CE47D2
tetradic
#D2CE47 #47D288 #474BD2 #D24791
square
#D2CE47 #47D288 #474BD2 #D24791
split-complementary
#D2CE47 #4791D2 #8847D2
monochromatic
#7F7D1F #B1AD2B #D2CE47 #DEDB78 #EAE8A9

Accessibility & contrast

On white

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

On black

12.66
#D2CE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE47
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE47#FFFFFF#000000##000000
##D2CE471.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC634
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#E1C1B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce47;
/* rgb */ color: rgb(210, 206, 71);
/* oklch */ color: oklch(83.0% 0.153 107.6);
Tailwind
colors: {
  custom: {
    50: '#e3dc81',
    500: '#d2ce47',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce47;
$custom-light: #e3dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce47",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 71
  },
  "hsl": {
    "h": 58.273,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83036,
    "c": 0.15258,
    "h": 107.6
  },
  "luminance": 0.58299
}

Semantic roles & 50–950 ramp

primary
#D2CE47
secondary
#363987
accent
#49E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CE47

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

Preview Lab → · Contrast checker → · Palette generator →

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