#D2C643#D2C643

#D2C643 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.148 H 104.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D2C643
RGBrgb(210, 198, 67)
HSLhsl(55, 61%, 54%)
HSVhsv(55, 68%, 82%)
CMYKcmyk(0%, 5.7%, 68.1%, 17.6%)
CIE-LABlab(78.75, -10.82, 64.10)
CIE-LCHlch(78.75, 65.01, 99.58°)
OKLaboklab(81.31% -0.0359 0.1434)
OKLCHoklch(81.31% 0.148 104.1)
XYZxyz(47.7875, 54.4969, 13.3109)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C643 #434FD2
analogous
#D27F43 #D2C643 #97D243
triadic
#D2C643 #43D2C6 #C643D2
tetradic
#D2C643 #43D27F #434FD2 #D24397
square
#D2C643 #43D27F #434FD2 #D24397
split-complementary
#D2C643 #4397D2 #7F43D2
monochromatic
#7D751E #AEA32A #D2C643 #DED574 #EAE4A6

Accessibility & contrast

On white

1.76
#D2C643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D2C643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C643
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C643#FFFFFF#000000##000000
##D2C6431.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF30
Deuteranopia (green-blind)
#DBC64B
Tritanopia (blue-blind)
#E1B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c643;
/* rgb */ color: rgb(210, 198, 67);
/* oklch */ color: oklch(81.3% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#e3d77f',
    500: '#d2c643',
    950: '#000000',
  },
}
SCSS
$custom: #d2c643;
$custom-light: #e3d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c643",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 54.965,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.14783,
    "h": 104.1
  },
  "luminance": 0.54495
}

Semantic roles & 50–950 ramp

primary
#D2C643
secondary
#353B84
accent
#51E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C643

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

Preview Lab → · Contrast checker → · Palette generator →

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