#D4C846#D4C846

#D4C846 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.147 H 104.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D4C846
RGBrgb(212, 200, 70)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 67%, 83%)
CMYKcmyk(0%, 5.7%, 67%, 16.9%)
CIE-LABlab(79.47, -10.83, 63.71)
CIE-LCHlch(79.47, 64.63, 99.65°)
OKLaboklab(81.93% -0.0357 0.143)
OKLCHoklch(81.93% 0.147 104)
XYZxyz(48.9131, 55.7497, 13.9774)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C846 #4652D4
analogous
#D48146 #D4C846 #99D446
triadic
#D4C846 #46D4C8 #C846D4
tetradic
#D4C846 #46D481 #4652D4 #D44699
square
#D4C846 #46D481 #4652D4 #D44699
split-complementary
#D4C846 #4699D4 #8146D4
monochromatic
#81791E #B3A82A #D4C846 #E0D778 #EBE6A9

Accessibility & contrast

On white

1.73
#D4C846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D4C846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C846
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C846#FFFFFF#000000##000000
##D4C8461.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C134
Deuteranopia (green-blind)
#DDC84E
Tritanopia (blue-blind)
#E3BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c846;
/* rgb */ color: rgb(212, 200, 70);
/* oklch */ color: oklch(81.9% 0.147 104.0);
Tailwind
colors: {
  custom: {
    50: '#e5d880',
    500: '#d4c846',
    950: '#000000',
  },
}
SCSS
$custom: #d4c846;
$custom-light: #e5d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c846",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 54.93,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81931,
    "c": 0.14742,
    "h": 104
  },
  "luminance": 0.55748
}

Semantic roles & 50–950 ramp

primary
#D4C846
secondary
#363D89
accent
#50E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C846

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

Preview Lab → · Contrast checker → · Palette generator →

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