#D2CC43#D2CC43

#D2CC43 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.153 H 106.8°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D2CC43
RGBrgb(210, 204, 67)
HSLhsl(57, 61%, 54%)
HSVhsv(57, 68%, 82%)
CMYKcmyk(0%, 2.9%, 68.1%, 17.6%)
CIE-LABlab(80.34, -13.85, 65.71)
CIE-LCHlch(80.34, 67.15, 101.91°)
OKLaboklab(82.58% -0.0445 0.1468)
OKLCHoklch(82.58% 0.153 106.8)
XYZxyz(49.1862, 57.2943, 13.7771)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC43 #4349D2
analogous
#D28543 #D2CC43 #90D243
triadic
#D2CC43 #43D2CC #CC43D2
tetradic
#D2CC43 #43D285 #4349D2 #D24390
square
#D2CC43 #43D285 #4349D2 #D24390
split-complementary
#D2CC43 #4390D2 #8543D2
monochromatic
#7D791E #AEA92A #D2CC43 #DED974 #EAE7A6

Accessibility & contrast

On white

1.69
#D2CC43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D2CC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC43
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC43#FFFFFF#000000##000000
##D2CC431.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42E
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#E1BFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cc43;
/* rgb */ color: rgb(210, 204, 67);
/* oklch */ color: oklch(82.6% 0.153 106.8);
Tailwind
colors: {
  custom: {
    50: '#e3db7f',
    500: '#d2cc43',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc43;
$custom-light: #e3db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc43",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 67
  },
  "hsl": {
    "h": 57.483,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8258,
    "c": 0.15337,
    "h": 106.8
  },
  "luminance": 0.57293
}

Semantic roles & 50–950 ramp

primary
#D2CC43
secondary
#353884
accent
#4AE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CC43

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

Preview Lab → · Contrast checker → · Palette generator →

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