#D2C149#D2C149

#D2C149 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.139 H 101.2°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D2C149
RGBrgb(210, 193, 73)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 8.1%, 65.2%, 17.6%)
CIE-LABlab(77.47, -7.93, 60.38)
CIE-LCHlch(77.47, 60.90, 97.49°)
OKLaboklab(80.31% -0.027 0.1365)
OKLCHoklch(80.31% 0.139 101.2)
XYZxyz(46.8528, 52.3246, 13.9337)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C149 #495AD2
analogous
#D27D49 #D2C149 #9ED249
triadic
#D2C149 #49D2C1 #C149D2
tetradic
#D2C149 #49D27D #495AD2 #D2499E
square
#D2C149 #49D27D #495AD2 #D2499E
split-complementary
#D2C149 #499ED2 #7D49D2
monochromatic
#817520 #B2A12C #D2C149 #DED27A #EAE2AB

Accessibility & contrast

On white

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

On black

11.46
#D2C149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C149
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C149#FFFFFF#000000##000000
##D2C1491.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3A
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#E1B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c149;
/* rgb */ color: rgb(210, 193, 73);
/* oklch */ color: oklch(80.3% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#e3d381',
    500: '#d2c149',
    950: '#000000',
  },
}
SCSS
$custom: #d2c149;
$custom-light: #e3d381;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c149",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 52.555,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80311,
    "c": 0.13917,
    "h": 101.2
  },
  "luminance": 0.52323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C149

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

Preview Lab → · Contrast checker → · Palette generator →

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