#D2C950#D2C950

#D2C950 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.141 H 105.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D2C950
RGBrgb(210, 201, 80)
HSLhsl(56, 59%, 57%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 4.3%, 61.9%, 17.6%)
CIE-LABlab(79.65, -11.58, 59.74)
CIE-LCHlch(79.65, 60.85, 100.97°)
OKLaboklab(82.05% -0.0366 0.1362)
OKLCHoklch(82.05% 0.141 105.1)
XYZxyz(48.9147, 56.0558, 15.8311)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C950 #5059D2
analogous
#D28850 #D2C950 #9AD250
triadic
#D2C950 #50D2C9 #C950D2
tetradic
#D2C950 #50D288 #5059D2 #D2509A
square
#D2C950 #50D288 #5059D2 #D2509A
split-complementary
#D2C950 #509AD2 #8850D2
monochromatic
#857E22 #B6AD2F #D2C950 #DFD881 #EBE7B1

Accessibility & contrast

On white

1.72
#D2C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D2C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C950
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C950#FFFFFF#000000##000000
##D2C9501.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#E1BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c950;
/* rgb */ color: rgb(210, 201, 80);
/* oklch */ color: oklch(82.1% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#e3d986',
    500: '#d2c950',
    950: '#000000',
  },
}
SCSS
$custom: #d2c950;
$custom-light: #e3d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c950",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 55.846,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82054,
    "c": 0.14104,
    "h": 105.1
  },
  "luminance": 0.56054
}

Semantic roles & 50–950 ramp

primary
#D2C950
secondary
#3A408C
accent
#50E246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C950

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

Preview Lab → · Contrast checker → · Palette generator →

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