#D4D946#D4D946

#D4D946 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.5% C 0.164 H 111.3°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D4D946
RGBrgb(212, 217, 70)
HSLhsl(62, 66%, 56%)
HSVhsv(62, 68%, 85%)
CMYKcmyk(2.3%, 0%, 67.7%, 14.9%)
CIE-LABlab(84.00, -19.31, 68.29)
CIE-LCHlch(84.00, 70.97, 105.79°)
OKLaboklab(85.54% -0.0596 0.1527)
OKLCHoklch(85.54% 0.164 111.3)
XYZxyz(53.0714, 64.0663, 15.3635)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D946 #4B46D9
analogous
#D99546 #D4D946 #8BD946
triadic
#D4D946 #46D4D9 #D946D4
tetradic
#D4D946 #46D995 #4B46D9 #D9468B
square
#D4D946 #46D995 #4B46D9 #D9468B
split-complementary
#D4D946 #468BD9 #9546D9
monochromatic
#85891C #B6BB26 #D4D946 #E0E379 #ECEEAC

Accessibility & contrast

On white

1.52
#D4D946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#D4D946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D946
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D946#FFFFFF#000000##000000
##D4D9461.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2F
Deuteranopia (green-blind)
#EAD351
Tritanopia (blue-blind)
#E2CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d946;
/* rgb */ color: rgb(212, 217, 70);
/* oklch */ color: oklch(85.5% 0.164 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e482',
    500: '#d4d946',
    950: '#000000',
  },
}
SCSS
$custom: #d4d946;
$custom-light: #e5e482;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d946",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 70
  },
  "hsl": {
    "h": 62.041,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85543,
    "c": 0.16389,
    "h": 111.3
  },
  "luminance": 0.64065
}

Semantic roles & 50–950 ramp

primary
#D4D946
secondary
#38358F
accent
#3FE945
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D946

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

Preview Lab → · Contrast checker → · Palette generator →

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