#D2CE4F#D2CE4F

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

Color values

HEX#D2CE4F
RGBrgb(210, 206, 79)
HSLhsl(58, 59%, 57%)
HSVhsv(58, 62%, 82%)
CMYKcmyk(0%, 1.9%, 62.4%, 17.6%)
CIE-LABlab(80.97, -14.16, 61.57)
CIE-LCHlch(80.97, 63.18, 102.95°)
OKLaboklab(83.1% -0.0441 0.1399)
OKLCHoklch(83.1% 0.147 107.5)
XYZxyz(50.0626, 58.4103, 16.0328)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE4F #4F53D2
analogous
#D28D4F #D2CE4F #95D24F
triadic
#D2CE4F #4FD2CE #CE4FD2
tetradic
#D2CE4F #4FD28D #4F53D2 #D24F95
square
#D2CE4F #4FD28D #4F53D2 #D24F95
split-complementary
#D2CE4F #4F95D2 #8D4FD2
monochromatic
#858222 #B5B12E #D2CE4F #DEDC80 #EBE9B0

Accessibility & contrast

On white

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

On black

12.68
#D2CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE4F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE4F#FFFFFF#000000##000000
##D2CE4F1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#E1CB57
Tritanopia (blue-blind)
#E0C1B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce4f;
/* rgb */ color: rgb(210, 206, 79);
/* oklch */ color: oklch(83.1% 0.147 107.5);
Tailwind
colors: {
  custom: {
    50: '#e3dc86',
    500: '#d2ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce4f;
$custom-light: #e3dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce4f",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 58.168,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83103,
    "c": 0.14671,
    "h": 107.5
  },
  "luminance": 0.58409
}

Semantic roles & 50–950 ramp

primary
#D2CE4F
secondary
#3A3C8C
accent
#4AE245
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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