#D5C93D#D5C93D

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

Color values

HEX#D5C93D
RGBrgb(213, 201, 61)
HSLhsl(55, 64%, 54%)
HSVhsv(55, 71%, 84%)
CMYKcmyk(0%, 5.6%, 71.4%, 16.5%)
CIE-LABlab(79.76, -11.38, 67.43)
CIE-LCHlch(79.76, 68.38, 99.58°)
OKLaboklab(82.16% -0.0382 0.1493)
OKLCHoklch(82.16% 0.154 104.4)
XYZxyz(49.1716, 56.2583, 12.6828)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C93D #3D49D5
analogous
#D57D3D #D5C93D #95D53D
triadic
#D5C93D #3DD5C9 #C93DD5
tetradic
#D5C93D #3DD57D #3D49D5 #D53D95
square
#D5C93D #3DD57D #3D49D5 #D53D95
split-complementary
#D5C93D #3D95D5 #7D3DD5
monochromatic
#7D751B #AFA426 #D5C93D #E0D76F #EBE5A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C93D#FFFFFF#000000##000000
##D5C93D1.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)
#DBC225
Deuteranopia (green-blind)
#DFC947
Tritanopia (blue-blind)
#E5BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c93d;
/* rgb */ color: rgb(213, 201, 61);
/* oklch */ color: oklch(82.2% 0.154 104.4);
Tailwind
colors: {
  custom: {
    50: '#e6d97c',
    500: '#d5c93d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c93d;
$custom-light: #e6d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c93d",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 61
  },
  "hsl": {
    "h": 55.263,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82163,
    "c": 0.15413,
    "h": 104.4
  },
  "luminance": 0.56256
}

Semantic roles & 50–950 ramp

primary
#D5C93D
secondary
#323984
accent
#4EE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C93D

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

Preview Lab → · Contrast checker → · Palette generator →

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