#D5CE3C#D5CE3C

#D5CE3C is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.159 H 106.6°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D5CE3C
RGBrgb(213, 206, 60)
HSLhsl(57, 65%, 54%)
HSVhsv(57, 72%, 84%)
CMYKcmyk(0%, 3.3%, 71.8%, 16.5%)
CIE-LABlab(81.08, -13.94, 69.06)
CIE-LCHlch(81.08, 70.45, 101.41°)
OKLaboklab(83.21% -0.0455 0.1526)
OKLCHoklch(83.21% 0.159 106.6)
XYZxyz(50.3295, 58.6168, 12.9371)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CE3C #3C43D5
analogous
#D5813C #D5CE3C #8FD53C
triadic
#D5CE3C #3CD5CE #CE3CD5
tetradic
#D5CE3C #3CD581 #3C43D5 #D53C8F
square
#D5CE3C #3CD581 #3C43D5 #D53C8F
split-complementary
#D5CE3C #3C8FD5 #813CD5
monochromatic
#7C771B #AEA826 #D5CE3C #E0DB6E #EBE7A1

Accessibility & contrast

On white

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

On black

12.72
#D5CE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CE3C
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CE3C#FFFFFF#000000##000000
##D5CE3C1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C621
Deuteranopia (green-blind)
#E3CC47
Tritanopia (blue-blind)
#E5C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5ce3c;
/* rgb */ color: rgb(213, 206, 60);
/* oklch */ color: oklch(83.2% 0.159 106.6);
Tailwind
colors: {
  custom: {
    50: '#e6dc7c',
    500: '#d5ce3c',
    950: '#000000',
  },
}
SCSS
$custom: #d5ce3c;
$custom-light: #e6dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ce3c",
  "rgb": {
    "r": 213,
    "g": 206,
    "b": 60
  },
  "hsl": {
    "h": 57.255,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83212,
    "c": 0.15922,
    "h": 106.6
  },
  "luminance": 0.58615
}

Semantic roles & 50–950 ramp

primary
#D5CE3C
secondary
#323584
accent
#48E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5CE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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