#D5C643#D5C643

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

Color values

HEX#D5C643
RGBrgb(213, 198, 67)
HSLhsl(54, 63%, 55%)
HSVhsv(54, 69%, 84%)
CMYKcmyk(0%, 7%, 68.5%, 16.5%)
CIE-LABlab(79.01, -9.55, 64.44)
CIE-LCHlch(79.01, 65.15, 98.43°)
OKLaboklab(81.58% -0.0325 0.144)
OKLCHoklch(81.58% 0.148 102.7)
XYZxyz(48.6498, 54.9416, 13.3513)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C643 #4352D5
analogous
#D57D43 #D5C643 #9BD543
triadic
#D5C643 #43D5C6 #C643D5
tetradic
#D5C643 #43D57D #4352D5 #D5439B
square
#D5C643 #43D57D #4352D5 #D5439B
split-complementary
#D5C643 #439BD5 #7D43D5
monochromatic
#81771D #B3A528 #D5C643 #E0D575 #EBE4A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C643#FFFFFF#000000##000000
##D5C6431.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)
#D8C030
Deuteranopia (green-blind)
#DCC74B
Tritanopia (blue-blind)
#E5B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c643;
/* rgb */ color: rgb(213, 198, 67);
/* oklch */ color: oklch(81.6% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#e5d77f',
    500: '#d5c643',
    950: '#000000',
  },
}
SCSS
$custom: #d5c643;
$custom-light: #e5d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c643",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 53.836,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81576,
    "c": 0.14765,
    "h": 102.7
  },
  "luminance": 0.5494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C643

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

Preview Lab → · Contrast checker → · Palette generator →

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