#D4CD23#D4CD23

#D4CD23 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#D4CD23
RGBrgb(212, 205, 35)
HSLhsl(58, 72%, 48%)
HSVhsv(58, 83%, 83%)
CMYKcmyk(0%, 3.3%, 83.5%, 16.9%)
CIE-LABlab(80.62, -14.75, 75.91)
CIE-LCHlch(80.62, 77.33, 101.00°)
OKLaboklab(82.79% -0.0497 0.1628)
OKLCHoklch(82.79% 0.17 107)
XYZxyz(49.2882, 57.7829, 10.1467)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD23 #232AD4
analogous
#D47423 #D4CD23 #82D423
triadic
#D4CD23 #23D4CD #CD23D4
tetradic
#D4CD23 #23D474 #232AD4 #D42382
square
#D4CD23 #23D474 #232AD4 #D42382
split-complementary
#D4CD23 #2382D4 #7423D4
monochromatic
#6B6712 #9F9A1A #D4CD23 #E2DD52 #EBE786

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD23#FFFFFF#000000##000000
##D4CD231.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)
#E2CB34
Tritanopia (blue-blind)
#E4BFAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cd23;
/* rgb */ color: rgb(212, 205, 35);
/* oklch */ color: oklch(82.8% 0.170 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6db71',
    500: '#d4cd23',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd23;
$custom-light: #e6db71;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd23",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 35
  },
  "hsl": {
    "h": 57.627,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.82787,
    "c": 0.17023,
    "h": 107
  },
  "luminance": 0.57781
}

Semantic roles & 50–950 ramp

primary
#D4CD23
secondary
#272A75
accent
#41EE39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D4CD23

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

Preview Lab → · Contrast checker → · Palette generator →

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