#D2CA46#D2CA46

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

Color values

HEX#D2CA46
RGBrgb(210, 202, 70)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 67%, 82%)
CMYKcmyk(0%, 3.8%, 66.7%, 17.6%)
CIE-LABlab(79.83, -12.69, 64.03)
CIE-LCHlch(79.83, 65.28, 101.21°)
OKLaboklab(82.18% -0.0408 0.1438)
OKLCHoklch(82.18% 0.149 105.9)
XYZxyz(48.8062, 56.3866, 14.1060)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA46 #464ED2
analogous
#D28446 #D2CA46 #94D246
triadic
#D2CA46 #46D2CA #CA46D2
tetradic
#D2CA46 #46D284 #464ED2 #D24694
square
#D2CA46 #46D284 #464ED2 #D24694
split-complementary
#D2CA46 #4694D2 #8446D2
monochromatic
#7F791F #B0A82B #D2CA46 #DED877 #EAE6A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CA46#FFFFFF#000000##000000
##D2CA461.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)
#DBC333
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#E1BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca46;
/* rgb */ color: rgb(210, 202, 70);
/* oklch */ color: oklch(82.2% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#e3d981',
    500: '#d2ca46',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca46;
$custom-light: #e3d981;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca46",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 56.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82179,
    "c": 0.14944,
    "h": 105.9
  },
  "luminance": 0.56385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CA46

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

Preview Lab → · Contrast checker → · Palette generator →

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