#D4C546#D4C546

#D4C546 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.145 H 102.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D4C546
RGBrgb(212, 197, 70)
HSLhsl(54, 62%, 55%)
HSVhsv(54, 67%, 83%)
CMYKcmyk(0%, 7.1%, 67%, 16.9%)
CIE-LABlab(78.68, -9.31, 62.90)
CIE-LCHlch(78.68, 63.59, 98.42°)
OKLaboklab(81.3% -0.0314 0.1413)
OKLCHoklch(81.3% 0.145 102.5)
XYZxyz(48.2251, 54.3737, 13.7481)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C546 #4655D4
analogous
#D47E46 #D4C546 #9CD446
triadic
#D4C546 #46D4C5 #C546D4
tetradic
#D4C546 #46D47E #4655D4 #D4469C
square
#D4C546 #46D47E #4655D4 #D4469C
split-complementary
#D4C546 #469CD4 #7E46D4
monochromatic
#81771E #B3A52A #D4C546 #E0D578 #EBE4A9

Accessibility & contrast

On white

1.77
#D4C546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#D4C546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C546
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C546#FFFFFF#000000##000000
##D4C5461.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF35
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#E4B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c546;
/* rgb */ color: rgb(212, 197, 70);
/* oklch */ color: oklch(81.3% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#e5d680',
    500: '#d4c546',
    950: '#000000',
  },
}
SCSS
$custom: #d4c546;
$custom-light: #e5d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c546",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 53.662,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81301,
    "c": 0.14476,
    "h": 102.5
  },
  "luminance": 0.54372
}

Semantic roles & 50–950 ramp

primary
#D4C546
secondary
#363E89
accent
#54E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C546

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

Preview Lab → · Contrast checker → · Palette generator →

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