#D5CE42#D5CE42

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

Color values

HEX#D5CE42
RGBrgb(213, 206, 66)
HSLhsl(57, 64%, 55%)
HSVhsv(57, 69%, 84%)
CMYKcmyk(0%, 3.3%, 69%, 16.5%)
CIE-LABlab(81.12, -13.65, 66.93)
CIE-LCHlch(81.12, 68.31, 101.53°)
OKLaboklab(83.25% -0.0441 0.1491)
OKLCHoklch(83.25% 0.156 106.5)
XYZxyz(50.4972, 58.6839, 13.8203)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CE42 #4249D5
analogous
#D58542 #D5CE42 #92D542
triadic
#D5CE42 #42D5CE #CE42D5
tetradic
#D5CE42 #42D585 #4249D5 #D54292
square
#D5CE42 #42D585 #4249D5 #D54292
split-complementary
#D5CE42 #4292D5 #8542D5
monochromatic
#807B1C #B2AC28 #D5CE42 #E0DB74 #EBE8A6

Accessibility & contrast

On white

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

On black

12.74
#D5CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CE42
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CE42#FFFFFF#000000##000000
##D5CE421.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62C
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#E4C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5ce42;
/* rgb */ color: rgb(213, 206, 66);
/* oklch */ color: oklch(83.3% 0.156 106.5);
Tailwind
colors: {
  custom: {
    50: '#e5dc7f',
    500: '#d5ce42',
    950: '#000000',
  },
}
SCSS
$custom: #d5ce42;
$custom-light: #e5dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ce42",
  "rgb": {
    "r": 213,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 57.143,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83253,
    "c": 0.15552,
    "h": 106.5
  },
  "luminance": 0.58682
}

Semantic roles & 50–950 ramp

primary
#D5CE42
secondary
#343887
accent
#49E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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