#D2CA50#D2CA50

#D2CA50 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.142 H 105.6°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D2CA50
RGBrgb(210, 202, 80)
HSLhsl(56, 59%, 57%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 3.8%, 61.9%, 17.6%)
CIE-LABlab(79.91, -12.09, 60.02)
CIE-LCHlch(79.91, 61.23, 101.38°)
OKLaboklab(82.27% -0.0381 0.1368)
OKLCHoklch(82.27% 0.142 105.6)
XYZxyz(49.1486, 56.5236, 15.9091)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA50 #5058D2
analogous
#D28950 #D2CA50 #99D250
triadic
#D2CA50 #50D2CA #CA50D2
tetradic
#D2CA50 #50D289 #5058D2 #D25099
square
#D2CA50 #50D289 #5058D2 #D25099
split-complementary
#D2CA50 #5099D2 #8950D2
monochromatic
#857F22 #B6AE2F #D2CA50 #DFD981 #EBE7B1

Accessibility & contrast

On white

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

On black

12.30
#D2CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA50
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA50#FFFFFF#000000##000000
##D2CA501.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#E1BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca50;
/* rgb */ color: rgb(210, 202, 80);
/* oklch */ color: oklch(82.3% 0.142 105.6);
Tailwind
colors: {
  custom: {
    50: '#e3d986',
    500: '#d2ca50',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca50;
$custom-light: #e3d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca50",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 56.308,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82265,
    "c": 0.14201,
    "h": 105.6
  },
  "luminance": 0.56522
}

Semantic roles & 50–950 ramp

primary
#D2CA50
secondary
#3A3F8C
accent
#4FE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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