#D2C454#D2C454

#D2C454 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.133 H 102.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D2C454
RGBrgb(210, 196, 84)
HSLhsl(53, 58%, 58%)
HSVhsv(53, 60%, 82%)
CMYKcmyk(0%, 6.7%, 60%, 17.6%)
CIE-LABlab(78.36, -8.77, 56.60)
CIE-LCHlch(78.36, 57.27, 98.80°)
OKLaboklab(81.04% -0.0282 0.1301)
OKLCHoklch(81.04% 0.133 102.2)
XYZxyz(47.9203, 53.8234, 16.2505)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C454 #5462D2
analogous
#D28554 #D2C454 #A1D254
triadic
#D2C454 #54D2C4 #C454D2
tetradic
#D2C454 #54D285 #5462D2 #D254A1
square
#D2C454 #54D285 #5462D2 #D254A1
split-complementary
#D2C454 #54A1D2 #8554D2
monochromatic
#887D24 #B8A931 #D2C454 #DFD584 #EBE5B5

Accessibility & contrast

On white

1.79
#D2C454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#D2C454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C454
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C454#FFFFFF#000000##000000
##D2C4541.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#E1B7AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c454;
/* rgb */ color: rgb(210, 196, 84);
/* oklch */ color: oklch(81.0% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e3d588',
    500: '#d2c454',
    950: '#000000',
  },
}
SCSS
$custom: #d2c454;
$custom-light: #e3d588;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c454",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 53.333,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81043,
    "c": 0.1331,
    "h": 102.2
  },
  "luminance": 0.53822
}

Semantic roles & 50–950 ramp

primary
#D2C454
secondary
#3C458E
accent
#58E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C454

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

Preview Lab → · Contrast checker → · Palette generator →

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