#D4D023#D4D023

#D4D023 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.173 H 108.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D4D023
RGBrgb(212, 208, 35)
HSLhsl(59, 72%, 48%)
HSVhsv(59, 83%, 83%)
CMYKcmyk(0%, 1.9%, 83.5%, 16.9%)
CIE-LABlab(81.42, -16.25, 76.58)
CIE-LCHlch(81.42, 78.28, 101.98°)
OKLaboklab(83.43% -0.0539 0.1643)
OKLCHoklch(83.43% 0.173 108.2)
XYZxyz(50.0127, 59.2319, 10.3882)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D023 #2327D4
analogous
#D47723 #D4D023 #7FD423
triadic
#D4D023 #23D4D0 #D023D4
tetradic
#D4D023 #23D477 #2327D4 #D4237F
square
#D4D023 #23D477 #2327D4 #D4237F
split-complementary
#D4D023 #237FD4 #7723D4
monochromatic
#6B6912 #9F9C1A #D4D023 #E2DF52 #EBE986

Accessibility & contrast

On white

1.63
#D4D023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D4D023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D023
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D023#FFFFFF#000000##000000
##D4D0231.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C700
Deuteranopia (green-blind)
#E5CD35
Tritanopia (blue-blind)
#E4C2B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4d023;
/* rgb */ color: rgb(212, 208, 35);
/* oklch */ color: oklch(83.4% 0.173 108.2);
Tailwind
colors: {
  custom: {
    50: '#e6de71',
    500: '#d4d023',
    950: '#000000',
  },
}
SCSS
$custom: #d4d023;
$custom-light: #e6de71;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d023",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 35
  },
  "hsl": {
    "h": 58.644,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.83426,
    "c": 0.17287,
    "h": 108.2
  },
  "luminance": 0.5923
}

Semantic roles & 50–950 ramp

primary
#D4D023
secondary
#272875
accent
#3DEE39
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D023

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

Preview Lab → · Contrast checker → · Palette generator →

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