#D2C055#D2C055

#D2C055 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.129 H 99.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D2C055
RGBrgb(210, 192, 85)
HSLhsl(51, 58%, 58%)
HSVhsv(51, 60%, 82%)
CMYKcmyk(0%, 8.6%, 59.5%, 17.6%)
CIE-LABlab(77.32, -6.64, 55.00)
CIE-LCHlch(77.32, 55.40, 96.89°)
OKLaboklab(80.22% -0.022 0.1268)
OKLCHoklch(80.22% 0.129 99.8)
XYZxyz(47.0695, 52.0587, 16.1615)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C055 #5567D2
analogous
#D28155 #D2C055 #A5D255
triadic
#D2C055 #55D2C0 #C055D2
tetradic
#D2C055 #55D281 #5567D2 #D255A5
square
#D2C055 #55D281 #5567D2 #D255A5
split-complementary
#D2C055 #55A5D2 #8155D2
monochromatic
#887A24 #B9A531 #D2C055 #DFD285 #ECE4B6

Accessibility & contrast

On white

1.84
#D2C055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#D2C055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C055
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C055#FFFFFF#000000##000000
##D2C0551.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB4A
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#E1B3A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c055;
/* rgb */ color: rgb(210, 192, 85);
/* oklch */ color: oklch(80.2% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#e3d289',
    500: '#d2c055',
    950: '#000000',
  },
}
SCSS
$custom: #d2c055;
$custom-light: #e3d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c055",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 51.36,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80218,
    "c": 0.12868,
    "h": 99.8
  },
  "luminance": 0.52057
}

Semantic roles & 50–950 ramp

primary
#D2C055
secondary
#3C488F
accent
#5DE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C055

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

Preview Lab → · Contrast checker → · Palette generator →

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