#D2C846#D2C846

#D2C846 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.148 H 104.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D2C846
RGBrgb(210, 200, 70)
HSLhsl(56, 61%, 55%)
HSVhsv(56, 67%, 82%)
CMYKcmyk(0%, 4.8%, 66.7%, 17.6%)
CIE-LABlab(79.30, -11.68, 63.49)
CIE-LCHlch(79.30, 64.55, 100.42°)
OKLaboklab(81.76% -0.038 0.1426)
OKLCHoklch(81.76% 0.148 104.9)
XYZxyz(48.3400, 55.4542, 13.9506)
Luminance0.5545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C846 #4650D2
analogous
#D28246 #D2C846 #96D246
triadic
#D2C846 #46D2C8 #C846D2
tetradic
#D2C846 #46D282 #4650D2 #D24696
square
#D2C846 #46D282 #4650D2 #D24696
split-complementary
#D2C846 #4696D2 #8246D2
monochromatic
#7F781F #B0A62B #D2C846 #DED777 #EAE5A8

Accessibility & contrast

On white

1.74
#D2C846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D2C846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C846
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C846#FFFFFF#000000##000000
##D2C8461.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C134
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c846;
/* rgb */ color: rgb(210, 200, 70);
/* oklch */ color: oklch(81.8% 0.148 104.9);
Tailwind
colors: {
  custom: {
    50: '#e3d880',
    500: '#d2c846',
    950: '#000000',
  },
}
SCSS
$custom: #d2c846;
$custom-light: #e3d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c846",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 55.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81756,
    "c": 0.14758,
    "h": 104.9
  },
  "luminance": 0.55452
}

Semantic roles & 50–950 ramp

primary
#D2C846
secondary
#363C86
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C846

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

Preview Lab → · Contrast checker → · Palette generator →

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