#D2CB49#D2CB49

#D2CB49 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.148 H 106.2°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D2CB49
RGBrgb(210, 203, 73)
HSLhsl(57, 60%, 55%)
HSVhsv(57, 65%, 82%)
CMYKcmyk(0%, 3.3%, 65.2%, 17.6%)
CIE-LABlab(80.12, -13.02, 63.14)
CIE-LCHlch(80.12, 64.46, 101.65°)
OKLaboklab(82.42% -0.0415 0.1423)
OKLCHoklch(82.42% 0.148 106.2)
XYZxyz(49.1387, 56.8962, 14.6957)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB49 #4950D2
analogous
#D28649 #D2CB49 #95D249
triadic
#D2CB49 #49D2CB #CB49D2
tetradic
#D2CB49 #49D286 #4950D2 #D24995
square
#D2CB49 #49D286 #4950D2 #D24995
split-complementary
#D2CB49 #4995D2 #8649D2
monochromatic
#817C20 #B2AB2C #D2CB49 #DED97A #EAE7AB

Accessibility & contrast

On white

1.70
#D2CB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D2CB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB49
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB49#FFFFFF#000000##000000
##D2CB491.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC437
Deuteranopia (green-blind)
#DFC951
Tritanopia (blue-blind)
#E1BEB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb49;
/* rgb */ color: rgb(210, 203, 73);
/* oklch */ color: oklch(82.4% 0.148 106.2);
Tailwind
colors: {
  custom: {
    50: '#e3da82',
    500: '#d2cb49',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb49;
$custom-light: #e3da82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb49",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 73
  },
  "hsl": {
    "h": 56.934,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82415,
    "c": 0.14826,
    "h": 106.2
  },
  "luminance": 0.56895
}

Semantic roles & 50–950 ramp

primary
#D2CB49
secondary
#373B88
accent
#4CE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CB49

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

Preview Lab → · Contrast checker → · Palette generator →

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