#D7CD45#D7CD45

#D7CD45 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.152 H 105.1°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D7CD45
RGBrgb(215, 205, 69)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 68%, 84%)
CMYKcmyk(0%, 4.7%, 67.9%, 15.7%)
CIE-LABlab(81.04, -12.15, 65.78)
CIE-LCHlch(81.04, 66.89, 100.47°)
OKLaboklab(83.24% -0.0397 0.1471)
OKLCHoklch(83.24% 0.152 105.1)
XYZxyz(50.9318, 58.5413, 14.2458)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD45 #454FD7
analogous
#D78445 #D7CD45 #98D745
triadic
#D7CD45 #45D7CD #CD45D7
tetradic
#D7CD45 #45D784 #454FD7 #D74598
square
#D7CD45 #45D784 #454FD7 #D74598
split-complementary
#D7CD45 #4598D7 #8445D7
monochromatic
#857E1D #B7AE27 #D7CD45 #E2DB77 #EDE8AA

Accessibility & contrast

On white

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

On black

12.71
#D7CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD45
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD45#FFFFFF#000000##000000
##D7CD451.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC631
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#E7BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd45;
/* rgb */ color: rgb(215, 205, 69);
/* oklch */ color: oklch(83.2% 0.152 105.1);
Tailwind
colors: {
  custom: {
    50: '#e7db80',
    500: '#d7cd45',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd45;
$custom-light: #e7db80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd45",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 55.89,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83237,
    "c": 0.15239,
    "h": 105.1
  },
  "luminance": 0.58539
}

Semantic roles & 50–950 ramp

primary
#D7CD45
secondary
#353B8C
accent
#4CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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