#D2C043#D2C043

#D2C043 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.143 H 101.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D2C043
RGBrgb(210, 192, 67)
HSLhsl(52, 61%, 54%)
HSVhsv(52, 68%, 82%)
CMYKcmyk(0%, 8.6%, 68.1%, 17.6%)
CIE-LABlab(77.17, -7.76, 62.50)
CIE-LCHlch(77.17, 62.98, 97.08°)
OKLaboklab(80.05% -0.0272 0.14)
OKLCHoklch(80.05% 0.143 101)
XYZxyz(46.4431, 51.8082, 12.8627)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C043 #4355D2
analogous
#D27943 #D2C043 #9CD243
triadic
#D2C043 #43D2C0 #C043D2
tetradic
#D2C043 #43D279 #4355D2 #D2439C
square
#D2C043 #43D279 #4355D2 #D2439C
split-complementary
#D2C043 #439CD2 #7943D2
monochromatic
#7D711E #AE9D2A #D2C043 #DED174 #EAE1A6

Accessibility & contrast

On white

1.85
#D2C043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#D2C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C043
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C043#FFFFFF#000000##000000
##D2C0431.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA31
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#E2B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c043;
/* rgb */ color: rgb(210, 192, 67);
/* oklch */ color: oklch(80.1% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#e3d27e',
    500: '#d2c043',
    950: '#000000',
  },
}
SCSS
$custom: #d2c043;
$custom-light: #e3d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c043",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 52.448,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80051,
    "c": 0.14264,
    "h": 101
  },
  "luminance": 0.51806
}

Semantic roles & 50–950 ramp

primary
#D2C043
secondary
#353F84
accent
#58E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C043

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

Preview Lab → · Contrast checker → · Palette generator →

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