#D2CE57#D2CE57

#D2CE57 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.140 H 107.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D2CE57
RGBrgb(210, 206, 87)
HSLhsl(58, 58%, 58%)
HSVhsv(58, 59%, 82%)
CMYKcmyk(0%, 1.9%, 58.6%, 17.6%)
CIE-LABlab(81.03, -13.63, 58.23)
CIE-LCHlch(81.03, 59.81, 103.17°)
OKLaboklab(83.18% -0.0417 0.1339)
OKLCHoklch(83.18% 0.14 107.3)
XYZxyz(50.3715, 58.5339, 17.6597)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE57 #575BD2
analogous
#D29057 #D2CE57 #98D257
triadic
#D2CE57 #57D2CE #CE57D2
tetradic
#D2CE57 #57D290 #575BD2 #D25798
square
#D2CE57 #57D290 #575BD2 #D25798
split-complementary
#D2CE57 #5798D2 #9057D2
monochromatic
#8A8625 #BAB632 #D2CE57 #DFDC87 #ECEAB8

Accessibility & contrast

On white

1.65
#D2CE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#D2CE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE57
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE57#FFFFFF#000000##000000
##D2CE571.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce57;
/* rgb */ color: rgb(210, 206, 87);
/* oklch */ color: oklch(83.2% 0.140 107.3);
Tailwind
colors: {
  custom: {
    50: '#e2dc8b',
    500: '#d2ce57',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce57;
$custom-light: #e2dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce57",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 58.049,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8318,
    "c": 0.14028,
    "h": 107.3
  },
  "luminance": 0.58532
}

Semantic roles & 50–950 ramp

primary
#D2CE57
secondary
#3D4090
accent
#4CE147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CE57

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

Preview Lab → · Contrast checker → · Palette generator →

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