#D2CA47#D2CA47

#D2CA47 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.149 H 105.8°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D2CA47
RGBrgb(210, 202, 71)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 66%, 82%)
CMYKcmyk(0%, 3.8%, 66.2%, 17.6%)
CIE-LABlab(79.84, -12.63, 63.64)
CIE-LCHlch(79.84, 64.88, 101.22°)
OKLaboklab(82.19% -0.0406 0.1431)
OKLCHoklch(82.19% 0.149 105.8)
XYZxyz(48.8380, 56.3993, 14.2736)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA47 #474FD2
analogous
#D28547 #D2CA47 #94D247
triadic
#D2CA47 #47D2CA #CA47D2
tetradic
#D2CA47 #47D285 #474FD2 #D24794
square
#D2CA47 #47D285 #474FD2 #D24794
split-complementary
#D2CA47 #4794D2 #8547D2
monochromatic
#7F7A1F #B1A92B #D2CA47 #DED878 #EAE6A9

Accessibility & contrast

On white

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

On black

12.28
#D2CA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA47
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA47#FFFFFF#000000##000000
##D2CA471.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC335
Deuteranopia (green-blind)
#DEC84F
Tritanopia (blue-blind)
#E1BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca47;
/* rgb */ color: rgb(210, 202, 71);
/* oklch */ color: oklch(82.2% 0.149 105.8);
Tailwind
colors: {
  custom: {
    50: '#e3d981',
    500: '#d2ca47',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca47;
$custom-light: #e3d981;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca47",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 56.547,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82187,
    "c": 0.14874,
    "h": 105.8
  },
  "luminance": 0.56398
}

Semantic roles & 50–950 ramp

primary
#D2CA47
secondary
#363B87
accent
#4DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CA47

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

Preview Lab → · Contrast checker → · Palette generator →

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