#D5C645#D5C645

#D5C645 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.146 H 102.6°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D5C645
RGBrgb(213, 198, 69)
HSLhsl(54, 63%, 55%)
HSVhsv(54, 68%, 84%)
CMYKcmyk(0%, 7%, 67.6%, 16.5%)
CIE-LABlab(79.02, -9.45, 63.68)
CIE-LCHlch(79.02, 64.38, 98.44°)
OKLaboklab(81.59% -0.0319 0.1428)
OKLCHoklch(81.59% 0.146 102.6)
XYZxyz(48.7109, 54.9660, 13.6727)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C645 #4554D5
analogous
#D57E45 #D5C645 #9CD545
triadic
#D5C645 #45D5C6 #C645D5
tetradic
#D5C645 #45D57E #4554D5 #D5459C
square
#D5C645 #45D57E #4554D5 #D5459C
split-complementary
#D5C645 #459CD5 #7E45D5
monochromatic
#82781D #B4A629 #D5C645 #E0D577 #ECE5A9

Accessibility & contrast

On white

1.75
#D5C645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#D5C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C645
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C645#FFFFFF#000000##000000
##D5C6451.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#E5B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c645;
/* rgb */ color: rgb(213, 198, 69);
/* oklch */ color: oklch(81.6% 0.146 102.6);
Tailwind
colors: {
  custom: {
    50: '#e5d780',
    500: '#d5c645',
    950: '#000000',
  },
}
SCSS
$custom: #d5c645;
$custom-light: #e5d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c645",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 53.75,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81592,
    "c": 0.14629,
    "h": 102.6
  },
  "luminance": 0.54964
}

Semantic roles & 50–950 ramp

primary
#D5C645
secondary
#353E89
accent
#53E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C645

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

Preview Lab → · Contrast checker → · Palette generator →

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