#D5C343#D5C343

#D5C343 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.145 H 101.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D5C343
RGBrgb(213, 195, 67)
HSLhsl(53, 63%, 55%)
HSVhsv(53, 69%, 84%)
CMYKcmyk(0%, 8.5%, 68.5%, 16.5%)
CIE-LABlab(78.22, -8.02, 63.65)
CIE-LCHlch(78.22, 64.15, 97.18°)
OKLaboklab(80.95% -0.0281 0.1424)
OKLCHoklch(80.95% 0.145 101.2)
XYZxyz(47.9709, 53.5837, 13.1250)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C343 #4355D5
analogous
#D57A43 #D5C343 #9ED543
triadic
#D5C343 #43D5C3 #C343D5
tetradic
#D5C343 #43D57A #4355D5 #D5439E
square
#D5C343 #43D57A #4355D5 #D5439E
split-complementary
#D5C343 #439ED5 #7A43D5
monochromatic
#81741D #B3A228 #D5C343 #E0D375 #EBE3A7

Accessibility & contrast

On white

1.79
#D5C343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#D5C343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C343
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C343#FFFFFF#000000##000000
##D5C3431.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD31
Deuteranopia (green-blind)
#DAC54B
Tritanopia (blue-blind)
#E5B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c343;
/* rgb */ color: rgb(213, 195, 67);
/* oklch */ color: oklch(80.9% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#e6d47e',
    500: '#d5c343',
    950: '#000000',
  },
}
SCSS
$custom: #d5c343;
$custom-light: #e6d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c343",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 52.603,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80949,
    "c": 0.14511,
    "h": 101.2
  },
  "luminance": 0.53582
}

Semantic roles & 50–950 ramp

primary
#D5C343
secondary
#343F88
accent
#56E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C343

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

Preview Lab → · Contrast checker → · Palette generator →

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