#D2CB51#D2CB51

#D2CB51 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.142 H 106.0°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D2CB51
RGBrgb(210, 203, 81)
HSLhsl(57, 59%, 57%)
HSVhsv(57, 61%, 82%)
CMYKcmyk(0%, 3.3%, 61.4%, 17.6%)
CIE-LABlab(80.18, -12.53, 59.89)
CIE-LCHlch(80.18, 61.19, 101.81°)
OKLaboklab(82.49% -0.0392 0.1367)
OKLCHoklch(82.49% 0.142 106)
XYZxyz(49.4212, 57.0092, 16.1836)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB51 #5158D2
analogous
#D28B51 #D2CB51 #99D251
triadic
#D2CB51 #51D2CB #CB51D2
tetradic
#D2CB51 #51D28B #5158D2 #D25199
square
#D2CB51 #51D28B #5158D2 #D25199
split-complementary
#D2CB51 #5199D2 #8B51D2
monochromatic
#868123 #B7AF2F #D2CB51 #DFDA82 #EBE8B2

Accessibility & contrast

On white

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

On black

12.40
#D2CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB51
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB51#FFFFFF#000000##000000
##D2CB511.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb51;
/* rgb */ color: rgb(210, 203, 81);
/* oklch */ color: oklch(82.5% 0.142 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3da87',
    500: '#d2cb51',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb51;
$custom-light: #e3da87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb51",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 56.744,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82486,
    "c": 0.14218,
    "h": 106
  },
  "luminance": 0.57008
}

Semantic roles & 50–950 ramp

primary
#D2CB51
secondary
#3B3F8D
accent
#4EE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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