#D4C85D#D4C85D

#D4C85D is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.129 H 102.9°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D4C85D
RGBrgb(212, 200, 93)
HSLhsl(54, 58%, 60%)
HSVhsv(54, 56%, 83%)
CMYKcmyk(0%, 5.7%, 56.1%, 16.9%)
CIE-LABlab(79.67, -9.33, 54.06)
CIE-LCHlch(79.67, 54.85, 99.79°)
OKLaboklab(82.15% -0.0289 0.1257)
OKLCHoklch(82.15% 0.129 102.9)
XYZxyz(49.7831, 56.0977, 18.5594)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C85D #5D69D4
analogous
#D48D5D #D4C85D #A4D45D
triadic
#D4C85D #5DD4C8 #C85DD4
tetradic
#D4C85D #5DD48D #5D69D4 #D45DA4
square
#D4C85D #5DD48D #5D69D4 #D45DA4
split-complementary
#D4C85D #5DA4D4 #8D5DD4
monochromatic
#908626 #C1B233 #D4C85D #E1D88D #EEE9BE

Accessibility & contrast

On white

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

On black

12.22
#D4C85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C85D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C85D#FFFFFF#000000##000000
##D4C85D1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C252
Deuteranopia (green-blind)
#DCC862
Tritanopia (blue-blind)
#E2BCB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c85d;
/* rgb */ color: rgb(212, 200, 93);
/* oklch */ color: oklch(82.2% 0.129 102.9);
Tailwind
colors: {
  custom: {
    50: '#e4d88e',
    500: '#d4c85d',
    950: '#000000',
  },
}
SCSS
$custom: #d4c85d;
$custom-light: #e4d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c85d",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 53.95,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82152,
    "c": 0.12897,
    "h": 102.9
  },
  "luminance": 0.56096
}

Semantic roles & 50–950 ramp

primary
#D4C85D
secondary
#3F4896
accent
#56E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4C85D

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

Preview Lab → · Contrast checker → · Palette generator →

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