#D5CA52#D5CA52

#D5CA52 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.140 H 104.1°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D5CA52
RGBrgb(213, 202, 82)
HSLhsl(55, 61%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.2%, 61.5%, 16.5%)
CIE-LABlab(80.18, -10.70, 59.53)
CIE-LCHlch(80.18, 60.49, 100.19°)
OKLaboklab(82.54% -0.0341 0.136)
OKLCHoklch(82.54% 0.14 104.1)
XYZxyz(50.0859, 56.9982, 16.3445)
Luminance0.5700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA52 #525DD5
analogous
#D58952 #D5CA52 #9ED552
triadic
#D5CA52 #52D5CA #CA52D5
tetradic
#D5CA52 #52D589 #525DD5 #D5529E
square
#D5CA52 #52D589 #525DD5 #D5529E
split-complementary
#D5CA52 #529ED5 #8952D5
monochromatic
#8B8222 #BCB02E #D5CA52 #E1D983 #EDE8B4

Accessibility & contrast

On white

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

On black

12.40
#D5CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA52
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA52#FFFFFF#000000##000000
##D5CA521.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ca52;
/* rgb */ color: rgb(213, 202, 82);
/* oklch */ color: oklch(82.5% 0.140 104.1);
Tailwind
colors: {
  custom: {
    50: '#e5d988',
    500: '#d5ca52',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca52;
$custom-light: #e5d988;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca52",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 54.962,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82544,
    "c": 0.14018,
    "h": 104.1
  },
  "luminance": 0.56996
}

Semantic roles & 50–950 ramp

primary
#D5CA52
secondary
#3A4291
accent
#51E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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