#D4D747#D4D747

#D4D747 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.161 H 110.5°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#D4D747
RGBrgb(212, 215, 71)
HSLhsl(61, 64%, 56%)
HSVhsv(61, 67%, 84%)
CMYKcmyk(1.4%, 0%, 67%, 15.7%)
CIE-LABlab(83.47, -18.27, 67.39)
CIE-LCHlch(83.47, 69.82, 105.17°)
OKLaboklab(85.12% -0.0566 0.1509)
OKLCHoklch(85.12% 0.161 110.5)
XYZxyz(52.5908, 63.0543, 15.3604)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D747 #4A47D7
analogous
#D79247 #D4D747 #8CD747
triadic
#D4D747 #47D4D7 #D747D4
tetradic
#D4D747 #47D792 #4A47D7 #D7478C
square
#D4D747 #47D792 #4A47D7 #D7478C
split-complementary
#D4D747 #478CD7 #9247D7
monochromatic
#84861D #B6B928 #D4D747 #E0E279 #EBEDAC

Accessibility & contrast

On white

1.54
#D4D747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#D4D747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D747
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D747#FFFFFF#000000##000000
##D4D7471.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE31
Deuteranopia (green-blind)
#E9D251
Tritanopia (blue-blind)
#E2CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d4d747;
/* rgb */ color: rgb(212, 215, 71);
/* oklch */ color: oklch(85.1% 0.161 110.5);
Tailwind
colors: {
  custom: {
    50: '#e5e382',
    500: '#d4d747',
    950: '#000000',
  },
}
SCSS
$custom: #d4d747;
$custom-light: #e5e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d747",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 71
  },
  "hsl": {
    "h": 61.25,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85122,
    "c": 0.16119,
    "h": 110.5
  },
  "luminance": 0.63053
}

Semantic roles & 50–950 ramp

primary
#D4D747
secondary
#37358D
accent
#41E744
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D747

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

Preview Lab → · Contrast checker → · Palette generator →

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