#D2C155#D2C155

#D2C155 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.130 H 100.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#D2C155
RGBrgb(210, 193, 85)
HSLhsl(52, 58%, 58%)
HSVhsv(52, 60%, 82%)
CMYKcmyk(0%, 8.1%, 59.5%, 17.6%)
CIE-LABlab(77.58, -7.16, 55.29)
CIE-LCHlch(77.58, 55.75, 97.38°)
OKLaboklab(80.43% -0.0234 0.1274)
OKLCHoklch(80.43% 0.13 100.4)
XYZxyz(47.2898, 52.4994, 16.2350)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C155 #5566D2
analogous
#D28255 #D2C155 #A4D255
triadic
#D2C155 #55D2C1 #C155D2
tetradic
#D2C155 #55D282 #5566D2 #D255A4
square
#D2C155 #55D282 #5566D2 #D255A4
split-complementary
#D2C155 #55A4D2 #8255D2
monochromatic
#887B24 #B9A631 #D2C155 #DFD385 #ECE4B6

Accessibility & contrast

On white

1.83
#D2C155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#D2C155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C155
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C155#FFFFFF#000000##000000
##D2C1551.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC49
Deuteranopia (green-blind)
#D6C35A
Tritanopia (blue-blind)
#E1B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c155;
/* rgb */ color: rgb(210, 193, 85);
/* oklch */ color: oklch(80.4% 0.130 100.4);
Tailwind
colors: {
  custom: {
    50: '#e3d389',
    500: '#d2c155',
    950: '#000000',
  },
}
SCSS
$custom: #d2c155;
$custom-light: #e3d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c155",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 51.84,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80426,
    "c": 0.12956,
    "h": 100.4
  },
  "luminance": 0.52497
}

Semantic roles & 50–950 ramp

primary
#D2C155
secondary
#3C478F
accent
#5CE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C155

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

Preview Lab → · Contrast checker → · Palette generator →

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