#D2CA55#D2CA55

#D2CA55 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.138 H 105.4°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D2CA55
RGBrgb(210, 202, 85)
HSLhsl(56, 58%, 58%)
HSVhsv(56, 60%, 82%)
CMYKcmyk(0%, 3.8%, 59.5%, 17.6%)
CIE-LABlab(79.95, -11.75, 57.92)
CIE-LCHlch(79.95, 59.10, 101.47°)
OKLaboklab(82.31% -0.0366 0.133)
OKLCHoklch(82.31% 0.138 105.4)
XYZxyz(49.3402, 56.6002, 16.9185)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA55 #555DD2
analogous
#D28B55 #D2CA55 #9BD255
triadic
#D2CA55 #55D2CA #CA55D2
tetradic
#D2CA55 #55D28B #555DD2 #D2559B
square
#D2CA55 #55D28B #555DD2 #D2559B
split-complementary
#D2CA55 #559BD2 #8B55D2
monochromatic
#888224 #B9B031 #D2CA55 #DFD985 #ECE8B6

Accessibility & contrast

On white

1.70
#D2CA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D2CA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA55
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA55#FFFFFF#000000##000000
##D2CA551.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC348
Deuteranopia (green-blind)
#DDC95B
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca55;
/* rgb */ color: rgb(210, 202, 85);
/* oklch */ color: oklch(82.3% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#e3d989',
    500: '#d2ca55',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca55;
$custom-light: #e3d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca55",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 56.16,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82314,
    "c": 0.13796,
    "h": 105.4
  },
  "luminance": 0.56599
}

Semantic roles & 50–950 ramp

primary
#D2CA55
secondary
#3C428F
accent
#50E146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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