#D2C249#D2C249

#D2C249 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.140 H 101.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D2C249
RGBrgb(210, 194, 73)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.6%, 65.2%, 17.6%)
CIE-LABlab(77.74, -8.45, 60.65)
CIE-LCHlch(77.74, 61.24, 97.93°)
OKLaboklab(80.52% -0.0285 0.1371)
OKLCHoklch(80.52% 0.14 101.7)
XYZxyz(47.0747, 52.7682, 14.0077)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C249 #4959D2
analogous
#D27E49 #D2C249 #9DD249
triadic
#D2C249 #49D2C2 #C249D2
tetradic
#D2C249 #49D27E #4959D2 #D2499D
square
#D2C249 #49D27E #4959D2 #D2499D
split-complementary
#D2C249 #499DD2 #7E49D2
monochromatic
#817520 #B2A22C #D2C249 #DED27A #EAE3AB

Accessibility & contrast

On white

1.82
#D2C249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D2C249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C249
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C249#FFFFFF#000000##000000
##D2C2491.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3A
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#E1B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c249;
/* rgb */ color: rgb(210, 194, 73);
/* oklch */ color: oklch(80.5% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#e3d482',
    500: '#d2c249',
    950: '#000000',
  },
}
SCSS
$custom: #d2c249;
$custom-light: #e3d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c249",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 52.993,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8052,
    "c": 0.14003,
    "h": 101.7
  },
  "luminance": 0.52766
}

Semantic roles & 50–950 ramp

primary
#D2C249
secondary
#374188
accent
#57E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C249

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

Preview Lab → · Contrast checker → · Palette generator →

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