#D4D24F#D4D24F

#D4D24F is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.150 H 108.4°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D4D24F
RGBrgb(212, 210, 79)
HSLhsl(59, 61%, 57%)
HSVhsv(59, 63%, 83%)
CMYKcmyk(0%, 0.9%, 62.7%, 16.9%)
CIE-LABlab(82.19, -15.33, 62.92)
CIE-LCHlch(82.19, 64.76, 103.69°)
OKLaboklab(84.12% -0.0475 0.1427)
OKLCHoklch(84.12% 0.15 108.4)
XYZxyz(51.6109, 60.6563, 16.3848)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D24F #4F51D4
analogous
#D4904F #D4D24F #93D44F
triadic
#D4D24F #4FD4D2 #D24FD4
tetradic
#D4D24F #4FD490 #4F51D4 #D44F93
square
#D4D24F #4FD490 #4F51D4 #D44F93
split-complementary
#D4D24F #4F93D4 #904FD4
monochromatic
#878621 #B9B72D #D4D24F #E0DF80 #ECEBB1

Accessibility & contrast

On white

1.60
#D4D24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D4D24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D24F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D24F#FFFFFF#000000##000000
##D4D24F1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3E
Deuteranopia (green-blind)
#E4CF57
Tritanopia (blue-blind)
#E2C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d24f;
/* rgb */ color: rgb(212, 210, 79);
/* oklch */ color: oklch(84.1% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#e4df86',
    500: '#d4d24f',
    950: '#000000',
  },
}
SCSS
$custom: #d4d24f;
$custom-light: #e4df86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d24f",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 59.098,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84121,
    "c": 0.15043,
    "h": 108.4
  },
  "luminance": 0.60655
}

Semantic roles & 50–950 ramp

primary
#D4D24F
secondary
#393B8E
accent
#46E444
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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