#D5CE40#D5CE40

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

Color values

HEX#D5CE40
RGBrgb(213, 206, 64)
HSLhsl(57, 64%, 54%)
HSVhsv(57, 70%, 84%)
CMYKcmyk(0%, 3.3%, 70%, 16.5%)
CIE-LABlab(81.10, -13.75, 67.66)
CIE-LCHlch(81.10, 69.04, 101.49°)
OKLaboklab(83.24% -0.0446 0.1503)
OKLCHoklch(83.24% 0.157 106.5)
XYZxyz(50.4392, 58.6607, 13.5152)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CE40 #4047D5
analogous
#D58440 #D5CE40 #92D540
triadic
#D5CE40 #40D5CE #CE40D5
tetradic
#D5CE40 #40D584 #4047D5 #D54092
square
#D5CE40 #40D584 #4047D5 #D54092
split-complementary
#D5CE40 #4092D5 #8440D5
monochromatic
#7F7A1C #B1AA27 #D5CE40 #E0DB72 #EBE8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CE40#FFFFFF#000000##000000
##D5CE401.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)
#DFC628
Deuteranopia (green-blind)
#E2CC4A
Tritanopia (blue-blind)
#E4C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5ce40;
/* rgb */ color: rgb(213, 206, 64);
/* oklch */ color: oklch(83.2% 0.157 106.5);
Tailwind
colors: {
  custom: {
    50: '#e6dc7e',
    500: '#d5ce40',
    950: '#000000',
  },
}
SCSS
$custom: #d5ce40;
$custom-light: #e6dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ce40",
  "rgb": {
    "r": 213,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 57.181,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83239,
    "c": 0.15679,
    "h": 106.5
  },
  "luminance": 0.58659
}

Semantic roles & 50–950 ramp

primary
#D5CE40
secondary
#333786
accent
#49E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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