#D4CD25#D4CD25

#D4CD25 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.170 H 107.0°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D4CD25
RGBrgb(212, 205, 37)
HSLhsl(58, 70%, 49%)
HSVhsv(58, 83%, 83%)
CMYKcmyk(0%, 3.3%, 82.5%, 16.9%)
CIE-LABlab(80.62, -14.70, 75.44)
CIE-LCHlch(80.62, 76.86, 101.03°)
OKLaboklab(82.79% -0.0495 0.1621)
OKLCHoklch(82.79% 0.17 107)
XYZxyz(49.3188, 57.7951, 10.3076)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD25 #252CD4
analogous
#D47625 #D4CD25 #84D425
triadic
#D4CD25 #25D4CD #CD25D4
tetradic
#D4CD25 #25D476 #252CD4 #D42584
square
#D4CD25 #25D476 #252CD4 #D42584
split-complementary
#D4CD25 #2584D4 #7625D4
monochromatic
#6C6813 #A09B1C #D4CD25 #E1DC55 #EAE789

Accessibility & contrast

On white

1.67
#D4CD25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#D4CD25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD25
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD25#FFFFFF#000000##000000
##D4CD251.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#E2CB36
Tritanopia (blue-blind)
#E4BFAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cd25;
/* rgb */ color: rgb(212, 205, 37);
/* oklch */ color: oklch(82.8% 0.170 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6db71',
    500: '#d4cd25',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd25;
$custom-light: #e6db71;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd25",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 37
  },
  "hsl": {
    "h": 57.6,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.82794,
    "c": 0.16951,
    "h": 107
  },
  "luminance": 0.57793
}

Semantic roles & 50–950 ramp

primary
#D4CD25
secondary
#282B75
accent
#42ED3B
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D4CD25

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

Preview Lab → · Contrast checker → · Palette generator →

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