#D7CD54#D7CD54

#D7CD54 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.141 H 104.6°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D7CD54
RGBrgb(215, 205, 84)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 61%, 84%)
CMYKcmyk(0%, 4.7%, 60.9%, 15.7%)
CIE-LABlab(81.15, -11.26, 59.78)
CIE-LCHlch(81.15, 60.83, 100.67°)
OKLaboklab(83.37% -0.0356 0.1367)
OKLCHoklch(83.37% 0.141 104.6)
XYZxyz(51.4577, 58.7516, 17.0154)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD54 #545ED7
analogous
#D78B54 #D7CD54 #9FD754
triadic
#D7CD54 #54D7CD #CD54D7
tetradic
#D7CD54 #54D78B #545ED7 #D7549F
square
#D7CD54 #54D78B #545ED7 #D7549F
split-complementary
#D7CD54 #549FD7 #8B54D7
monochromatic
#8F8721 #C1B52D #D7CD54 #E3DC86 #EEEAB7

Accessibility & contrast

On white

1.65
#D7CD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D7CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD54
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD54#FFFFFF#000000##000000
##D7CD541.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC646
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd54;
/* rgb */ color: rgb(215, 205, 84);
/* oklch */ color: oklch(83.4% 0.141 104.6);
Tailwind
colors: {
  custom: {
    50: '#e6dc89',
    500: '#d7cd54',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd54;
$custom-light: #e6dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd54",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 55.42,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83366,
    "c": 0.14128,
    "h": 104.6
  },
  "luminance": 0.5875
}

Semantic roles & 50–950 ramp

primary
#D7CD54
secondary
#3B4195
accent
#4FE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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