#D2C460#D2C460

#D2C460 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.122 H 101.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D2C460
RGBrgb(210, 196, 96)
HSLhsl(53, 56%, 60%)
HSVhsv(53, 54%, 82%)
CMYKcmyk(0%, 6.7%, 54.3%, 17.6%)
CIE-LABlab(78.48, -7.87, 51.25)
CIE-LCHlch(78.48, 51.85, 98.73°)
OKLaboklab(81.18% -0.0243 0.12)
OKLCHoklch(81.18% 0.122 101.4)
XYZxyz(48.4312, 54.0278, 18.9413)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C460 #606ED2
analogous
#D28B60 #D2C460 #A7D260
triadic
#D2C460 #60D2C4 #C460D2
tetradic
#D2C460 #60D28B #606ED2 #D260A7
square
#D2C460 #60D28B #606ED2 #D260A7
split-complementary
#D2C460 #60A7D2 #8B60D2
monochromatic
#8F8329 #BFAE36 #D2C460 #DFD690 #EDE7BF

Accessibility & contrast

On white

1.78
#D2C460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D2C460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C460
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C460#FFFFFF#000000##000000
##D2C4601.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#E0B8AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c460;
/* rgb */ color: rgb(210, 196, 96);
/* oklch */ color: oklch(81.2% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#e2d590',
    500: '#d2c460',
    950: '#000000',
  },
}
SCSS
$custom: #d2c460;
$custom-light: #e2d590;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c460",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 96
  },
  "hsl": {
    "h": 52.632,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.81176,
    "c": 0.12244,
    "h": 101.4
  },
  "luminance": 0.54026
}

Semantic roles & 50–950 ramp

primary
#D2C460
secondary
#414B95
accent
#5BDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C460

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

Preview Lab → · Contrast checker → · Palette generator →

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