#D5C93B#D5C93B

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

Color values

HEX#D5C93B
RGBrgb(213, 201, 59)
HSLhsl(55, 65%, 53%)
HSVhsv(55, 72%, 84%)
CMYKcmyk(0%, 5.6%, 72.3%, 16.5%)
CIE-LABlab(79.75, -11.47, 68.13)
CIE-LCHlch(79.75, 69.09, 99.55°)
OKLaboklab(82.15% -0.0387 0.1504)
OKLCHoklch(82.15% 0.155 104.4)
XYZxyz(49.1187, 56.2371, 12.4044)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C93B #3B47D5
analogous
#D57C3B #D5C93B #94D53B
triadic
#D5C93B #3BD5C9 #C93BD5
tetradic
#D5C93B #3BD57C #3B47D5 #D53B94
square
#D5C93B #3BD57C #3B47D5 #D53B94
split-complementary
#D5C93B #3B94D5 #7C3BD5
monochromatic
#7B741A #AEA325 #D5C93B #E0D76D #EBE5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C93B#FFFFFF#000000##000000
##D5C93B1.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)
#DBC221
Deuteranopia (green-blind)
#DFC945
Tritanopia (blue-blind)
#E5BBAD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c93b;
/* rgb */ color: rgb(213, 201, 59);
/* oklch */ color: oklch(82.1% 0.155 104.4);
Tailwind
colors: {
  custom: {
    50: '#e6d97b',
    500: '#d5c93b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c93b;
$custom-light: #e6d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c93b",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 55.325,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82149,
    "c": 0.15532,
    "h": 104.4
  },
  "luminance": 0.56235
}

Semantic roles & 50–950 ramp

primary
#D5C93B
secondary
#313883
accent
#4DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C93B

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

Preview Lab → · Contrast checker → · Palette generator →

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