#D2C154#D2C154

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

Color values

HEX#D2C154
RGBrgb(210, 193, 84)
HSLhsl(52, 58%, 58%)
HSVhsv(52, 60%, 82%)
CMYKcmyk(0%, 8.1%, 60%, 17.6%)
CIE-LABlab(77.57, -7.23, 55.73)
CIE-LCHlch(77.57, 56.19, 97.39°)
OKLaboklab(80.42% -0.0238 0.1282)
OKLCHoklch(80.42% 0.13 100.5)
XYZxyz(47.2503, 52.4836, 16.0272)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C154 #5465D2
analogous
#D28254 #D2C154 #A4D254
triadic
#D2C154 #54D2C1 #C154D2
tetradic
#D2C154 #54D282 #5465D2 #D254A4
square
#D2C154 #54D282 #5465D2 #D254A4
split-complementary
#D2C154 #54A4D2 #8254D2
monochromatic
#887A24 #B8A631 #D2C154 #DFD384 #EBE4B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C154#FFFFFF#000000##000000
##D2C1541.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)
#D2BC48
Deuteranopia (green-blind)
#D6C35A
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c154;
/* rgb */ color: rgb(210, 193, 84);
/* oklch */ color: oklch(80.4% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#e3d388',
    500: '#d2c154',
    950: '#000000',
  },
}
SCSS
$custom: #d2c154;
$custom-light: #e3d388;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c154",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 51.905,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80416,
    "c": 0.1304,
    "h": 100.5
  },
  "luminance": 0.52482
}

Semantic roles & 50–950 ramp

primary
#D2C154
secondary
#3C478E
accent
#5BE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C154

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

Preview Lab → · Contrast checker → · Palette generator →

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