#D5C93E#D5C93E

#D5C93E is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.154 H 104.3°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D5C93E
RGBrgb(213, 201, 62)
HSLhsl(55, 64%, 54%)
HSVhsv(55, 71%, 84%)
CMYKcmyk(0%, 5.6%, 70.9%, 16.5%)
CIE-LABlab(79.77, -11.33, 67.07)
CIE-LCHlch(79.77, 68.02, 99.59°)
OKLaboklab(82.17% -0.038 0.1487)
OKLCHoklch(82.17% 0.154 104.3)
XYZxyz(49.1988, 56.2692, 12.8260)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C93E #3E4AD5
analogous
#D57E3E #D5C93E #96D53E
triadic
#D5C93E #3ED5C9 #C93ED5
tetradic
#D5C93E #3ED57E #3E4AD5 #D53E96
square
#D5C93E #3ED57E #3E4AD5 #D53E96
split-complementary
#D5C93E #3E96D5 #7E3ED5
monochromatic
#7D761B #B0A526 #D5C93E #E0D770 #EBE5A3

Accessibility & contrast

On white

1.71
#D5C93E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D5C93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C93E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C93E#FFFFFF#000000##000000
##D5C93E1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC227
Deuteranopia (green-blind)
#DFC947
Tritanopia (blue-blind)
#E5BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c93e;
/* rgb */ color: rgb(213, 201, 62);
/* oklch */ color: oklch(82.2% 0.154 104.3);
Tailwind
colors: {
  custom: {
    50: '#e6d97c',
    500: '#d5c93e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c93e;
$custom-light: #e6d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c93e",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 55.232,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82169,
    "c": 0.15351,
    "h": 104.3
  },
  "luminance": 0.56267
}

Semantic roles & 50–950 ramp

primary
#D5C93E
secondary
#323985
accent
#4EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C93E

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

Preview Lab → · Contrast checker → · Palette generator →

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