#D4C754#D4C754

#D4C754 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.136 H 102.9°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D4C754
RGBrgb(212, 199, 84)
HSLhsl(54, 60%, 58%)
HSVhsv(54, 60%, 83%)
CMYKcmyk(0%, 6.1%, 60.4%, 16.9%)
CIE-LABlab(79.32, -9.46, 57.71)
CIE-LCHlch(79.32, 58.48, 99.31°)
OKLaboklab(81.85% -0.0303 0.1324)
OKLCHoklch(81.85% 0.136 102.9)
XYZxyz(49.1768, 55.4858, 16.5052)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C754 #5461D4
analogous
#D48754 #D4C754 #A1D454
triadic
#D4C754 #54D4C7 #C754D4
tetradic
#D4C754 #54D487 #5461D4 #D454A1
square
#D4C754 #54D487 #5461D4 #D454A1
split-complementary
#D4C754 #54A1D4 #8754D4
monochromatic
#8B8023 #BCAD2F #D4C754 #E0D785 #EDE7B6

Accessibility & contrast

On white

1.74
#D4C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D4C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C754
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C754#FFFFFF#000000##000000
##D4C7541.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C147
Deuteranopia (green-blind)
#DCC75A
Tritanopia (blue-blind)
#E3BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c754;
/* rgb */ color: rgb(212, 199, 84);
/* oklch */ color: oklch(81.8% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#e4d789',
    500: '#d4c754',
    950: '#000000',
  },
}
SCSS
$custom: #d4c754;
$custom-light: #e4d789;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c754",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 53.906,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81847,
    "c": 0.13581,
    "h": 102.9
  },
  "luminance": 0.55484
}

Semantic roles & 50–950 ramp

primary
#D4C754
secondary
#3B4491
accent
#55E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C754

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

Preview Lab → · Contrast checker → · Palette generator →

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