#D2C260#D2C260

#D2C260 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.121 H 100.2°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D2C260
RGBrgb(210, 194, 96)
HSLhsl(52, 56%, 60%)
HSVhsv(52, 54%, 82%)
CMYKcmyk(0%, 7.6%, 54.3%, 17.6%)
CIE-LABlab(77.95, -6.84, 50.63)
CIE-LCHlch(77.95, 51.09, 97.70°)
OKLaboklab(80.76% -0.0213 0.1187)
OKLCHoklch(80.76% 0.121 100.2)
XYZxyz(47.9831, 53.1316, 18.7920)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C260 #6070D2
analogous
#D28960 #D2C260 #A9D260
triadic
#D2C260 #60D2C2 #C260D2
tetradic
#D2C260 #60D289 #6070D2 #D260A9
square
#D2C260 #60D289 #6070D2 #D260A9
split-complementary
#D2C260 #60A9D2 #8960D2
monochromatic
#8F8129 #BFAC36 #D2C260 #DFD490 #EDE7BF

Accessibility & contrast

On white

1.81
#D2C260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D2C260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C260
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C260#FFFFFF#000000##000000
##D2C2601.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD57
Deuteranopia (green-blind)
#D6C365
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c260;
/* rgb */ color: rgb(210, 194, 96);
/* oklch */ color: oklch(80.8% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#e2d490',
    500: '#d2c260',
    950: '#000000',
  },
}
SCSS
$custom: #d2c260;
$custom-light: #e2d490;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c260",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 96
  },
  "hsl": {
    "h": 51.579,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.80759,
    "c": 0.12059,
    "h": 100.2
  },
  "luminance": 0.5313
}

Semantic roles & 50–950 ramp

primary
#D2C260
secondary
#414D95
accent
#5EDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C260

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

Preview Lab → · Contrast checker → · Palette generator →

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