#D4C853#D4C853

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

Color values

HEX#D4C853
RGBrgb(212, 200, 83)
HSLhsl(54, 60%, 58%)
HSVhsv(54, 61%, 83%)
CMYKcmyk(0%, 5.7%, 60.8%, 16.9%)
CIE-LABlab(79.58, -10.04, 58.42)
CIE-LCHlch(79.58, 59.28, 99.75°)
OKLaboklab(82.05% -0.032 0.1338)
OKLCHoklch(82.05% 0.138 103.5)
XYZxyz(49.3688, 55.9320, 16.3774)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C853 #535FD4
analogous
#D48853 #D4C853 #9FD453
triadic
#D4C853 #53D4C8 #C853D4
tetradic
#D4C853 #53D488 #535FD4 #D4539F
square
#D4C853 #53D488 #535FD4 #D4539F
split-complementary
#D4C853 #539FD4 #8853D4
monochromatic
#8A8023 #BBAE2F #D4C853 #E0D884 #ECE7B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C853#FFFFFF#000000##000000
##D4C8531.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)
#D9C246
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#E3BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c853;
/* rgb */ color: rgb(212, 200, 83);
/* oklch */ color: oklch(82.0% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#e4d888',
    500: '#d4c853',
    950: '#000000',
  },
}
SCSS
$custom: #d4c853;
$custom-light: #e4d888;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c853",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 83
  },
  "hsl": {
    "h": 54.419,
    "s": 60,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82047,
    "c": 0.13756,
    "h": 103.5
  },
  "luminance": 0.5593
}

Semantic roles & 50–950 ramp

primary
#D4C853
secondary
#3B4390
accent
#53E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C853

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

Preview Lab → · Contrast checker → · Palette generator →

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