#D2C45D#D2C45D

#D2C45D is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.125 H 101.6°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D2C45D
RGBrgb(210, 196, 93)
HSLhsl(53, 57%, 59%)
HSVhsv(53, 56%, 82%)
CMYKcmyk(0%, 6.7%, 55.7%, 17.6%)
CIE-LABlab(78.45, -8.11, 52.61)
CIE-LCHlch(78.45, 53.23, 98.76°)
OKLaboklab(81.14% -0.0253 0.1226)
OKLCHoklch(81.14% 0.125 101.6)
XYZxyz(48.2957, 53.9736, 18.2278)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C45D #5D6BD2
analogous
#D28A5D #D2C45D #A5D25D
triadic
#D2C45D #5DD2C4 #C45DD2
tetradic
#D2C45D #5DD28A #5D6BD2 #D25DA5
square
#D2C45D #5DD28A #5D6BD2 #D25DA5
split-complementary
#D2C45D #5DA5D2 #8A5DD2
monochromatic
#8D8127 #BDAD35 #D2C45D #DFD58D #EDE7BD

Accessibility & contrast

On white

1.78
#D2C45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D2C45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C45D
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C45D#FFFFFF#000000##000000
##D2C45D1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF53
Deuteranopia (green-blind)
#D8C562
Tritanopia (blue-blind)
#E0B8AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c45d;
/* rgb */ color: rgb(210, 196, 93);
/* oklch */ color: oklch(81.1% 0.125 101.6);
Tailwind
colors: {
  custom: {
    50: '#e2d58e',
    500: '#d2c45d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c45d;
$custom-light: #e2d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c45d",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 52.821,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8114,
    "c": 0.12521,
    "h": 101.6
  },
  "luminance": 0.53972
}

Semantic roles & 50–950 ramp

primary
#D2C45D
secondary
#404A93
accent
#5AE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C45D

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

Preview Lab → · Contrast checker → · Palette generator →

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