#D5C546#D5C546

#D5C546 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.145 H 102.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D5C546
RGBrgb(213, 197, 70)
HSLhsl(53, 63%, 55%)
HSVhsv(53, 67%, 84%)
CMYKcmyk(0%, 7.5%, 67.1%, 16.5%)
CIE-LABlab(78.77, -8.88, 63.02)
CIE-LCHlch(78.77, 63.64, 98.02°)
OKLaboklab(81.39% -0.0302 0.1415)
OKLCHoklch(81.39% 0.145 102.1)
XYZxyz(48.5144, 54.5229, 13.7617)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C546 #4656D5
analogous
#D57E46 #D5C546 #9DD546
triadic
#D5C546 #46D5C5 #C546D5
tetradic
#D5C546 #46D57E #4656D5 #D5469D
square
#D5C546 #46D57E #4656D5 #D5469D
split-complementary
#D5C546 #469DD5 #7E46D5
monochromatic
#83781E #B5A529 #D5C546 #E0D578 #ECE4AA

Accessibility & contrast

On white

1.76
#D5C546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D5C546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C546
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C546#FFFFFF#000000##000000
##D5C5461.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF35
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#E5B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c546;
/* rgb */ color: rgb(213, 197, 70);
/* oklch */ color: oklch(81.4% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#e5d680',
    500: '#d5c546',
    950: '#000000',
  },
}
SCSS
$custom: #d5c546;
$custom-light: #e5d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c546",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 53.287,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81391,
    "c": 0.14472,
    "h": 102.1
  },
  "luminance": 0.54521
}

Semantic roles & 50–950 ramp

primary
#D5C546
secondary
#353F8A
accent
#54E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C546

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

Preview Lab → · Contrast checker → · Palette generator →

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