#D5C754#D5C754

#D5C754 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.136 H 102.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D5C754
RGBrgb(213, 199, 84)
HSLhsl(53, 61%, 58%)
HSVhsv(53, 61%, 84%)
CMYKcmyk(0%, 6.6%, 60.6%, 16.5%)
CIE-LABlab(79.41, -9.05, 57.82)
CIE-LCHlch(79.41, 58.53, 98.89°)
OKLaboklab(81.94% -0.0291 0.1326)
OKLCHoklch(81.94% 0.136 102.4)
XYZxyz(49.4661, 55.6350, 16.5188)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C754 #5462D5
analogous
#D58654 #D5C754 #A3D554
triadic
#D5C754 #54D5C7 #C754D5
tetradic
#D5C754 #54D586 #5462D5 #D554A3
square
#D5C754 #54D586 #5462D5 #D554A3
split-complementary
#D5C754 #54A3D5 #8654D5
monochromatic
#8C8122 #BDAE2E #D5C754 #E1D785 #EDE7B6

Accessibility & contrast

On white

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

On black

12.13
#D5C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C754
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C754#FFFFFF#000000##000000
##D5C7541.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C147
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#E4BAAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c754;
/* rgb */ color: rgb(213, 199, 84);
/* oklch */ color: oklch(81.9% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#e5d789',
    500: '#d5c754',
    950: '#000000',
  },
}
SCSS
$custom: #d5c754;
$custom-light: #e5d789;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c754",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 53.488,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81936,
    "c": 0.13579,
    "h": 102.4
  },
  "luminance": 0.55633
}

Semantic roles & 50–950 ramp

primary
#D5C754
secondary
#3B4592
accent
#55E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C754

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

Preview Lab → · Contrast checker → · Palette generator →

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