#D2C255#D2C255

#D2C255 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.130 H 101.0°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D2C255
RGBrgb(210, 194, 85)
HSLhsl(52, 58%, 58%)
HSVhsv(52, 60%, 82%)
CMYKcmyk(0%, 7.6%, 59.5%, 17.6%)
CIE-LABlab(77.84, -7.67, 55.58)
CIE-LCHlch(77.84, 56.11, 97.86°)
OKLaboklab(80.64% -0.0249 0.128)
OKLCHoklch(80.64% 0.13 101)
XYZxyz(47.5116, 52.9430, 16.3089)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C255 #5565D2
analogous
#D28355 #D2C255 #A3D255
triadic
#D2C255 #55D2C2 #C255D2
tetradic
#D2C255 #55D283 #5565D2 #D255A3
square
#D2C255 #55D283 #5565D2 #D255A3
split-complementary
#D2C255 #55A3D2 #8355D2
monochromatic
#887C24 #B9A731 #D2C255 #DFD385 #ECE5B6

Accessibility & contrast

On white

1.81
#D2C255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D2C255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C255
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C255#FFFFFF#000000##000000
##D2C2551.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD49
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#E1B6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c255;
/* rgb */ color: rgb(210, 194, 85);
/* oklch */ color: oklch(80.6% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#e3d489',
    500: '#d2c255',
    950: '#000000',
  },
}
SCSS
$custom: #d2c255;
$custom-light: #e3d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c255",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 52.32,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80635,
    "c": 0.13044,
    "h": 101
  },
  "luminance": 0.52941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C255

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

Preview Lab → · Contrast checker → · Palette generator →

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