#D5C345#D5C345

#D5C345 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.144 H 101.1°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D5C345
RGBrgb(213, 195, 69)
HSLhsl(53, 63%, 55%)
HSVhsv(53, 68%, 84%)
CMYKcmyk(0%, 8.5%, 67.6%, 16.5%)
CIE-LABlab(78.23, -7.91, 62.87)
CIE-LCHlch(78.23, 63.37, 97.17°)
OKLaboklab(80.97% -0.0276 0.1411)
OKLCHoklch(80.97% 0.144 101.1)
XYZxyz(48.0319, 53.6081, 13.4464)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C345 #4557D5
analogous
#D57B45 #D5C345 #9FD545
triadic
#D5C345 #45D5C3 #C345D5
tetradic
#D5C345 #45D57B #4557D5 #D5459F
square
#D5C345 #45D57B #4557D5 #D5459F
split-complementary
#D5C345 #459FD5 #7B45D5
monochromatic
#82761D #B4A329 #D5C345 #E0D377 #ECE3A9

Accessibility & contrast

On white

1.79
#D5C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#D5C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C345
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C345#FFFFFF#000000##000000
##D5C3451.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD34
Deuteranopia (green-blind)
#DAC54C
Tritanopia (blue-blind)
#E5B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c345;
/* rgb */ color: rgb(213, 195, 69);
/* oklch */ color: oklch(81.0% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#e5d47f',
    500: '#d5c345',
    950: '#000000',
  },
}
SCSS
$custom: #d5c345;
$custom-light: #e5d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c345",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 52.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80965,
    "c": 0.14373,
    "h": 101.1
  },
  "luminance": 0.53606
}

Semantic roles & 50–950 ramp

primary
#D5C345
secondary
#354089
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C345

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

Preview Lab → · Contrast checker → · Palette generator →

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