#D5C854#D5C854

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

Color values

HEX#D5C854
RGBrgb(213, 200, 84)
HSLhsl(54, 61%, 58%)
HSVhsv(54, 61%, 84%)
CMYKcmyk(0%, 6.1%, 60.6%, 16.5%)
CIE-LABlab(79.67, -9.56, 58.11)
CIE-LCHlch(79.67, 58.89, 99.34°)
OKLaboklab(82.15% -0.0306 0.1332)
OKLCHoklch(82.15% 0.137 102.9)
XYZxyz(49.6969, 56.0966, 16.5957)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C854 #5461D5
analogous
#D58754 #D5C854 #A2D554
triadic
#D5C854 #54D5C8 #C854D5
tetradic
#D5C854 #54D587 #5461D5 #D554A2
square
#D5C854 #54D587 #5461D5 #D554A2
split-complementary
#D5C854 #54A2D5 #8754D5
monochromatic
#8C8222 #BDAF2E #D5C854 #E1D885 #EDE8B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C854#FFFFFF#000000##000000
##D5C8541.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)
#D9C247
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#E4BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c854;
/* rgb */ color: rgb(213, 200, 84);
/* oklch */ color: oklch(82.1% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#e5d889',
    500: '#d5c854',
    950: '#000000',
  },
}
SCSS
$custom: #d5c854;
$custom-light: #e5d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c854",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 53.953,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82145,
    "c": 0.1367,
    "h": 102.9
  },
  "luminance": 0.56095
}

Semantic roles & 50–950 ramp

primary
#D5C854
secondary
#3B4492
accent
#54E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C854

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

Preview Lab → · Contrast checker → · Palette generator →

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