#D4D652#D4D652

#D4D652 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.0% C 0.152 H 110.1°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D4D652
RGBrgb(212, 214, 82)
HSLhsl(61, 62%, 58%)
HSVhsv(61, 62%, 84%)
CMYKcmyk(0.9%, 0%, 61.7%, 16.1%)
CIE-LABlab(83.28, -17.13, 62.84)
CIE-LCHlch(83.28, 65.14, 105.25°)
OKLaboklab(85% -0.0522 0.143)
OKLCHoklch(85% 0.152 110.1)
XYZxyz(52.7225, 62.7008, 17.3062)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D652 #5452D6
analogous
#D69652 #D4D652 #92D652
triadic
#D4D652 #52D4D6 #D652D4
tetradic
#D4D652 #52D696 #5452D6 #D65292
square
#D4D652 #52D696 #5452D6 #D65292
split-complementary
#D4D652 #5292D6 #9652D6
monochromatic
#8B8C21 #BCBE2D #D4D652 #E0E283 #EDEDB5

Accessibility & contrast

On white

1.55
#D4D652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D4D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D652
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D652#FFFFFF#000000##000000
##D4D6521.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#E2C9BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d652;
/* rgb */ color: rgb(212, 214, 82);
/* oklch */ color: oklch(85.0% 0.152 110.1);
Tailwind
colors: {
  custom: {
    50: '#e4e288',
    500: '#d4d652',
    950: '#000000',
  },
}
SCSS
$custom: #d4d652;
$custom-light: #e4e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d652",
  "rgb": {
    "r": 212,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 60.909,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84999,
    "c": 0.15225,
    "h": 110.1
  },
  "luminance": 0.62699
}

Semantic roles & 50–950 ramp

primary
#D4D652
secondary
#3B3A92
accent
#43E545
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D652

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

Preview Lab → · Contrast checker → · Palette generator →

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