#D5C646#D5C646

#D5C646 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 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D5C646
RGBrgb(213, 198, 70)
HSLhsl(54, 63%, 55%)
HSVhsv(54, 67%, 84%)
CMYKcmyk(0%, 7%, 67.1%, 16.5%)
CIE-LABlab(79.03, -9.39, 63.29)
CIE-LCHlch(79.03, 63.98, 98.44°)
OKLaboklab(81.6% -0.0317 0.1421)
OKLCHoklch(81.6% 0.146 102.6)
XYZxyz(48.7422, 54.9785, 13.8376)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C646 #4655D5
analogous
#D57E46 #D5C646 #9DD546
triadic
#D5C646 #46D5C6 #C646D5
tetradic
#D5C646 #46D57E #4655D5 #D5469D
square
#D5C646 #46D57E #4655D5 #D5469D
split-complementary
#D5C646 #469DD5 #7E46D5
monochromatic
#83781E #B5A629 #D5C646 #E0D578 #ECE5AA

Accessibility & contrast

On white

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

On black

12.00
#D5C646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C646
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C646#FFFFFF#000000##000000
##D5C6461.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c646;
/* rgb */ color: rgb(213, 198, 70);
/* oklch */ color: oklch(81.6% 0.146 102.6);
Tailwind
colors: {
  custom: {
    50: '#e5d780',
    500: '#d5c646',
    950: '#000000',
  },
}
SCSS
$custom: #d5c646;
$custom-light: #e5d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c646",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 53.706,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.816,
    "c": 0.14559,
    "h": 102.6
  },
  "luminance": 0.54976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C646

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

Preview Lab → · Contrast checker → · Palette generator →

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