#D5CA56#D5CA56

#D5CA56 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.137 H 103.9°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D5CA56
RGBrgb(213, 202, 86)
HSLhsl(55, 60%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 5.2%, 59.6%, 16.5%)
CIE-LABlab(80.21, -10.44, 57.83)
CIE-LCHlch(80.21, 58.77, 100.23°)
OKLaboklab(82.58% -0.0329 0.1329)
OKLCHoklch(82.58% 0.137 103.9)
XYZxyz(50.2426, 57.0609, 17.1696)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA56 #5661D5
analogous
#D58A56 #D5CA56 #A0D556
triadic
#D5CA56 #56D5CA #CA56D5
tetradic
#D5CA56 #56D58A #5661D5 #D556A0
square
#D5CA56 #56D58A #5661D5 #D556A0
split-complementary
#D5CA56 #56A0D5 #8A56D5
monochromatic
#8D8423 #BEB22F #D5CA56 #E1D987 #EDE9B8

Accessibility & contrast

On white

1.69
#D5CA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#D5CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA56
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA56#FFFFFF#000000##000000
##D5CA561.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#DECA5C
Tritanopia (blue-blind)
#E4BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca56;
/* rgb */ color: rgb(213, 202, 86);
/* oklch */ color: oklch(82.6% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#e5d98a',
    500: '#d5ca56',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca56;
$custom-light: #e5d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca56",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 54.803,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82584,
    "c": 0.13691,
    "h": 103.9
  },
  "luminance": 0.57059
}

Semantic roles & 50–950 ramp

primary
#D5CA56
secondary
#3C4493
accent
#52E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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