#D4D147#D4D147

#D4D147 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.155 H 108.1°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D4D147
RGBrgb(212, 209, 71)
HSLhsl(59, 62%, 55%)
HSVhsv(59, 67%, 83%)
CMYKcmyk(0%, 1.4%, 66.5%, 16.9%)
CIE-LABlab(81.87, -15.30, 65.77)
CIE-LCHlch(81.87, 67.52, 103.10°)
OKLaboklab(83.84% -0.0482 0.1475)
OKLCHoklch(83.84% 0.155 108.1)
XYZxyz(51.0910, 60.0545, 14.8604)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D147 #474AD4
analogous
#D48A47 #D4D147 #91D447
triadic
#D4D147 #47D4D1 #D147D4
tetradic
#D4D147 #47D48A #474AD4 #D44791
square
#D4D147 #47D48A #474AD4 #D44791
split-complementary
#D4D147 #4791D4 #8A47D4
monochromatic
#82801E #B4B12A #D4D147 #E0DD79 #EBEAAA

Accessibility & contrast

On white

1.61
#D4D147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D4D147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D147
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D147#FFFFFF#000000##000000
##D4D1471.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C933
Deuteranopia (green-blind)
#E4CE50
Tritanopia (blue-blind)
#E3C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d147;
/* rgb */ color: rgb(212, 209, 71);
/* oklch */ color: oklch(83.8% 0.155 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5de82',
    500: '#d4d147',
    950: '#000000',
  },
}
SCSS
$custom: #d4d147;
$custom-light: #e5de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d147",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 71
  },
  "hsl": {
    "h": 58.723,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83842,
    "c": 0.1552,
    "h": 108.1
  },
  "luminance": 0.60053
}

Semantic roles & 50–950 ramp

primary
#D4D147
secondary
#363889
accent
#46E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D147

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

Preview Lab → · Contrast checker → · Palette generator →

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