#D4C854#D4C854

#D4C854 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.137 H 103.4°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D4C854
RGBrgb(212, 200, 84)
HSLhsl(54, 60%, 58%)
HSVhsv(54, 60%, 83%)
CMYKcmyk(0%, 5.7%, 60.4%, 16.9%)
CIE-LABlab(79.58, -9.97, 58.00)
CIE-LCHlch(79.58, 58.85, 99.76°)
OKLaboklab(82.06% -0.0317 0.133)
OKLCHoklch(82.06% 0.137 103.4)
XYZxyz(49.4077, 55.9475, 16.5822)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C854 #5460D4
analogous
#D48854 #D4C854 #A0D454
triadic
#D4C854 #54D4C8 #C854D4
tetradic
#D4C854 #54D488 #5460D4 #D454A0
square
#D4C854 #54D488 #5460D4 #D454A0
split-complementary
#D4C854 #54A0D4 #8854D4
monochromatic
#8B8123 #BCAE2F #D4C854 #E0D885 #EDE7B6

Accessibility & contrast

On white

1.72
#D4C854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D4C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C854
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C854#FFFFFF#000000##000000
##D4C8541.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C247
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#E3BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c854;
/* rgb */ color: rgb(212, 200, 84);
/* oklch */ color: oklch(82.1% 0.137 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4d889',
    500: '#d4c854',
    950: '#000000',
  },
}
SCSS
$custom: #d4c854;
$custom-light: #e4d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c854",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 54.375,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82057,
    "c": 0.13673,
    "h": 103.4
  },
  "luminance": 0.55946
}

Semantic roles & 50–950 ramp

primary
#D4C854
secondary
#3B4391
accent
#54E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C854

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

Preview Lab → · Contrast checker → · Palette generator →

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