#D2CB47#D2CB47

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

Color values

HEX#D2CB47
RGBrgb(210, 203, 71)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 66%, 82%)
CMYKcmyk(0%, 3.3%, 66.2%, 17.6%)
CIE-LABlab(80.11, -13.13, 63.92)
CIE-LCHlch(80.11, 65.25, 101.61°)
OKLaboklab(82.4% -0.042 0.1437)
OKLCHoklch(82.4% 0.15 106.3)
XYZxyz(49.0734, 56.8701, 14.3521)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB47 #474ED2
analogous
#D28547 #D2CB47 #94D247
triadic
#D2CB47 #47D2CB #CB47D2
tetradic
#D2CB47 #47D285 #474ED2 #D24794
square
#D2CB47 #47D285 #474ED2 #D24794
split-complementary
#D2CB47 #4794D2 #8547D2
monochromatic
#7F7B1F #B1AA2B #D2CB47 #DED978 #EAE7A9

Accessibility & contrast

On white

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

On black

12.37
#D2CB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB47
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB47#FFFFFF#000000##000000
##D2CB471.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cb47;
/* rgb */ color: rgb(210, 203, 71);
/* oklch */ color: oklch(82.4% 0.150 106.3);
Tailwind
colors: {
  custom: {
    50: '#e3da81',
    500: '#d2cb47',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb47;
$custom-light: #e3da81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb47",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 56.978,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.14968,
    "h": 106.3
  },
  "luminance": 0.56868
}

Semantic roles & 50–950 ramp

primary
#D2CB47
secondary
#363A87
accent
#4CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CB47

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

Preview Lab → · Contrast checker → · Palette generator →

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