#D2CC4B#D2CC4B

#D2CC4B is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.148 H 106.7°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D2CC4B
RGBrgb(210, 204, 75)
HSLhsl(57, 60%, 56%)
HSVhsv(57, 64%, 82%)
CMYKcmyk(0%, 2.9%, 64.3%, 17.6%)
CIE-LABlab(80.40, -13.40, 62.62)
CIE-LCHlch(80.40, 64.04, 102.08°)
OKLaboklab(82.64% -0.0423 0.1416)
OKLCHoklch(82.64% 0.148 106.7)
XYZxyz(49.4430, 57.3970, 15.1295)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC4B #4B51D2
analogous
#D2884B #D2CC4B #94D24B
triadic
#D2CC4B #4BD2CC #CC4BD2
tetradic
#D2CC4B #4BD288 #4B51D2 #D24B94
square
#D2CC4B #4BD288 #4B51D2 #D24B94
split-complementary
#D2CC4B #4B94D2 #884BD2
monochromatic
#827E21 #B3AD2D #D2CC4B #DEDA7C #EAE8AD

Accessibility & contrast

On white

1.68
#D2CC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#D2CC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC4B
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC4B#FFFFFF#000000##000000
##D2CC4B1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cc4b;
/* rgb */ color: rgb(210, 204, 75);
/* oklch */ color: oklch(82.6% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#e3db84',
    500: '#d2cc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc4b;
$custom-light: #e3db84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc4b",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 57.333,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82644,
    "c": 0.14776,
    "h": 106.7
  },
  "luminance": 0.57395
}

Semantic roles & 50–950 ramp

primary
#D2CC4B
secondary
#383C89
accent
#4CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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