#D2CE5F#D2CE5F

#D2CE5F is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.133 H 107.1°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D2CE5F
RGBrgb(210, 206, 95)
HSLhsl(58, 56%, 60%)
HSVhsv(58, 55%, 82%)
CMYKcmyk(0%, 1.9%, 54.8%, 17.6%)
CIE-LABlab(81.11, -13.03, 54.74)
CIE-LCHlch(81.11, 56.27, 103.39°)
OKLaboklab(83.27% -0.0391 0.1274)
OKLCHoklch(83.27% 0.133 107.1)
XYZxyz(50.7167, 58.6719, 19.4775)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE5F #5F63D2
analogous
#D2955F #D2CE5F #9DD25F
triadic
#D2CE5F #5FD2CE #CE5FD2
tetradic
#D2CE5F #5FD295 #5F63D2 #D25F9D
square
#D2CE5F #5FD295 #5F63D2 #D25F9D
split-complementary
#D2CE5F #5F9DD2 #955FD2
monochromatic
#8F8B28 #BEBA36 #D2CE5F #DFDD8F #EDEBBF

Accessibility & contrast

On white

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

On black

12.73
#D2CE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE5F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE5F#FFFFFF#000000##000000
##D2CE5F1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#DFC2B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce5f;
/* rgb */ color: rgb(210, 206, 95);
/* oklch */ color: oklch(83.3% 0.133 107.1);
Tailwind
colors: {
  custom: {
    50: '#e2dc90',
    500: '#d2ce5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce5f;
$custom-light: #e2dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce5f",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 57.913,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83265,
    "c": 0.13332,
    "h": 107.1
  },
  "luminance": 0.5867
}

Semantic roles & 50–950 ramp

primary
#D2CE5F
secondary
#414494
accent
#4EDF48
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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