#D5C543#D5C543

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

Color values

HEX#D5C543
RGBrgb(213, 197, 67)
HSLhsl(53, 63%, 55%)
HSVhsv(53, 69%, 84%)
CMYKcmyk(0%, 7.5%, 68.5%, 16.5%)
CIE-LABlab(78.74, -9.04, 64.18)
CIE-LCHlch(78.74, 64.81, 98.02°)
OKLaboklab(81.37% -0.031 0.1435)
OKLCHoklch(81.37% 0.147 102.2)
XYZxyz(48.4220, 54.4859, 13.2753)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C543 #4353D5
analogous
#D57C43 #D5C543 #9CD543
triadic
#D5C543 #43D5C5 #C543D5
tetradic
#D5C543 #43D57C #4353D5 #D5439C
square
#D5C543 #43D57C #4353D5 #D5439C
split-complementary
#D5C543 #439CD5 #7C43D5
monochromatic
#81761D #B3A428 #D5C543 #E0D475 #EBE4A7

Accessibility & contrast

On white

1.77
#D5C543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C543#FFFFFF#000000##000000
##D5C5431.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF30
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#E5B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c543;
/* rgb */ color: rgb(213, 197, 67);
/* oklch */ color: oklch(81.4% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#e5d67e',
    500: '#d5c543',
    950: '#000000',
  },
}
SCSS
$custom: #d5c543;
$custom-light: #e5d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c543",
  "rgb": {
    "r": 213,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 53.425,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81367,
    "c": 0.14679,
    "h": 102.2
  },
  "luminance": 0.54484
}

Semantic roles & 50–950 ramp

primary
#D5C543
secondary
#343D88
accent
#53E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C543

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

Preview Lab → · Contrast checker → · Palette generator →

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