#D5C843#D5C843

#D5C843 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.149 H 103.7°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D5C843
RGBrgb(213, 200, 67)
HSLhsl(55, 63%, 55%)
HSVhsv(55, 69%, 84%)
CMYKcmyk(0%, 6.1%, 68.5%, 16.5%)
CIE-LABlab(79.54, -10.57, 64.98)
CIE-LCHlch(79.54, 65.83, 99.24°)
OKLaboklab(82% -0.0353 0.1452)
OKLCHoklch(82% 0.149 103.7)
XYZxyz(49.1100, 55.8619, 13.5047)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C843 #4350D5
analogous
#D57F43 #D5C843 #99D543
triadic
#D5C843 #43D5C8 #C843D5
tetradic
#D5C843 #43D57F #4350D5 #D54399
square
#D5C843 #43D57F #4350D5 #D54399
split-complementary
#D5C843 #4399D5 #7F43D5
monochromatic
#81781D #B3A628 #D5C843 #E0D775 #EBE5A7

Accessibility & contrast

On white

1.73
#D5C843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#D5C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C843
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C843#FFFFFF#000000##000000
##D5C8431.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12F
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#E5BAAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c843;
/* rgb */ color: rgb(213, 200, 67);
/* oklch */ color: oklch(82.0% 0.149 103.7);
Tailwind
colors: {
  custom: {
    50: '#e5d87f',
    500: '#d5c843',
    950: '#000000',
  },
}
SCSS
$custom: #d5c843;
$custom-light: #e5d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c843",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 54.658,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81996,
    "c": 0.1494,
    "h": 103.7
  },
  "luminance": 0.5586
}

Semantic roles & 50–950 ramp

primary
#D5C843
secondary
#343C88
accent
#50E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C843

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

Preview Lab → · Contrast checker → · Palette generator →

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