#D2C450#D2C450

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

Color values

HEX#D2C450
RGBrgb(210, 196, 80)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 62%, 82%)
CMYKcmyk(0%, 6.7%, 61.9%, 17.6%)
CIE-LABlab(78.32, -9.03, 58.31)
CIE-LCHlch(78.32, 59.01, 98.81°)
OKLaboklab(81% -0.0294 0.1332)
OKLCHoklch(81% 0.136 102.4)
XYZxyz(47.7681, 53.7625, 15.4489)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C450 #505ED2
analogous
#D28350 #D2C450 #9FD250
triadic
#D2C450 #50D2C4 #C450D2
tetradic
#D2C450 #50D283 #505ED2 #D2509F
square
#D2C450 #50D283 #505ED2 #D2509F
split-complementary
#D2C450 #509FD2 #8350D2
monochromatic
#857B22 #B6A72F #D2C450 #DFD481 #EBE5B1

Accessibility & contrast

On white

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

On black

11.75
#D2C450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C450
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C450#FFFFFF#000000##000000
##D2C4501.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE43
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#E1B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c450;
/* rgb */ color: rgb(210, 196, 80);
/* oklch */ color: oklch(81.0% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#e3d586',
    500: '#d2c450',
    950: '#000000',
  },
}
SCSS
$custom: #d2c450;
$custom-light: #e3d586;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c450",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 53.538,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81003,
    "c": 0.13638,
    "h": 102.4
  },
  "luminance": 0.53761
}

Semantic roles & 50–950 ramp

primary
#D2C450
secondary
#3A438C
accent
#56E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C450

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

Preview Lab → · Contrast checker → · Palette generator →

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