#D4CD50#D4CD50

#D4CD50 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.145 H 106.1°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D4CD50
RGBrgb(212, 205, 80)
HSLhsl(57, 61%, 57%)
HSVhsv(57, 62%, 83%)
CMYKcmyk(0%, 3.3%, 62.3%, 16.9%)
CIE-LABlab(80.87, -12.77, 61.10)
CIE-LCHlch(80.87, 62.42, 101.80°)
OKLaboklab(83.07% -0.0401 0.139)
OKLCHoklch(83.07% 0.145 106.1)
XYZxyz(50.4324, 58.2406, 16.1728)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD50 #5057D4
analogous
#D48B50 #D4CD50 #99D450
triadic
#D4CD50 #50D4CD #CD50D4
tetradic
#D4CD50 #50D48B #5057D4 #D45099
square
#D4CD50 #50D48B #5057D4 #D45099
split-complementary
#D4CD50 #5099D4 #8B50D4
monochromatic
#888321 #B9B22E #D4CD50 #E0DB81 #ECE9B2

Accessibility & contrast

On white

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

On black

12.65
#D4CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD50
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD50#FFFFFF#000000##000000
##D4CD501.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC641
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd50;
/* rgb */ color: rgb(212, 205, 80);
/* oklch */ color: oklch(83.1% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e4dc87',
    500: '#d4cd50',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd50;
$custom-light: #e4dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd50",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 56.818,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83071,
    "c": 0.14471,
    "h": 106.1
  },
  "luminance": 0.58239
}

Semantic roles & 50–950 ramp

primary
#D4CD50
secondary
#3A3E8F
accent
#4DE444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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