#D5C43E#D5C43E

#D5C43E is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.149 H 101.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D5C43E
RGBrgb(213, 196, 62)
HSLhsl(53, 64%, 54%)
HSVhsv(53, 71%, 84%)
CMYKcmyk(0%, 8%, 70.9%, 16.5%)
CIE-LABlab(78.45, -8.79, 65.78)
CIE-LCHlch(78.45, 66.37, 97.61°)
OKLaboklab(81.12% -0.0308 0.146)
OKLCHoklch(81.12% 0.149 101.9)
XYZxyz(48.0521, 53.9759, 12.4438)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C43E #3E4FD5
analogous
#D5793E #D5C43E #9BD53E
triadic
#D5C43E #3ED5C4 #C43ED5
tetradic
#D5C43E #3ED579 #3E4FD5 #D53E9B
square
#D5C43E #3ED579 #3E4FD5 #D53E9B
split-complementary
#D5C43E #3E9BD5 #793ED5
monochromatic
#7D721B #B0A026 #D5C43E #E0D370 #EBE3A3

Accessibility & contrast

On white

1.78
#D5C43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D5C43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C43E
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C43E#FFFFFF#000000##000000
##D5C43E1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE28
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#E5B6AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c43e;
/* rgb */ color: rgb(213, 196, 62);
/* oklch */ color: oklch(81.1% 0.149 101.9);
Tailwind
colors: {
  custom: {
    50: '#e6d57c',
    500: '#d5c43e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c43e;
$custom-light: #e6d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c43e",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 62
  },
  "hsl": {
    "h": 53.245,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81121,
    "c": 0.14922,
    "h": 101.9
  },
  "luminance": 0.53974
}

Semantic roles & 50–950 ramp

primary
#D5C43E
secondary
#323C85
accent
#53E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C43E

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

Preview Lab → · Contrast checker → · Palette generator →

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