#D4D046#D4D046

#D4D046 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.155 H 107.7°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D4D046
RGBrgb(212, 208, 70)
HSLhsl(58, 62%, 55%)
HSVhsv(58, 67%, 83%)
CMYKcmyk(0%, 1.9%, 67%, 16.9%)
CIE-LABlab(81.59, -14.86, 65.87)
CIE-LCHlch(81.59, 67.53, 102.71°)
OKLaboklab(83.62% -0.0471 0.1476)
OKLCHoklch(83.62% 0.155 107.7)
XYZxyz(50.8146, 59.5526, 14.6113)
Luminance0.5955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D046 #464AD4
analogous
#D48946 #D4D046 #91D446
triadic
#D4D046 #46D4D0 #D046D4
tetradic
#D4D046 #46D489 #464AD4 #D44691
square
#D4D046 #46D489 #464AD4 #D44691
split-complementary
#D4D046 #4691D4 #8946D4
monochromatic
#817F1E #B3AF2A #D4D046 #E0DD78 #EBE9A9

Accessibility & contrast

On white

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

On black

12.91
#D4D046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D046
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D046#FFFFFF#000000##000000
##D4D0461.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C832
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#E3C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d046;
/* rgb */ color: rgb(212, 208, 70);
/* oklch */ color: oklch(83.6% 0.155 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5de81',
    500: '#d4d046',
    950: '#000000',
  },
}
SCSS
$custom: #d4d046;
$custom-light: #e5de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d046",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 70
  },
  "hsl": {
    "h": 58.31,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83622,
    "c": 0.15491,
    "h": 107.7
  },
  "luminance": 0.59551
}

Semantic roles & 50–950 ramp

primary
#D4D046
secondary
#363889
accent
#47E542
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D046

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

Preview Lab → · Contrast checker → · Palette generator →

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