#D2C463#D2C463

#D2C463 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.120 H 101.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D2C463
RGBrgb(210, 196, 99)
HSLhsl(52, 55%, 61%)
HSVhsv(52, 53%, 82%)
CMYKcmyk(0%, 6.7%, 52.9%, 17.6%)
CIE-LABlab(78.51, -7.63, 49.86)
CIE-LCHlch(78.51, 50.44, 98.70°)
OKLaboklab(81.21% -0.0232 0.1173)
OKLCHoklch(81.21% 0.12 101.2)
XYZxyz(48.5719, 54.0841, 19.6827)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C463 #6371D2
analogous
#D28C63 #D2C463 #A9D263
triadic
#D2C463 #63D2C4 #C463D2
tetradic
#D2C463 #63D28C #6371D2 #D263A9
square
#D2C463 #63D28C #6371D2 #D263A9
split-complementary
#D2C463 #63A9D2 #8C63D2
monochromatic
#91842A #C0AF37 #D2C463 #E0D692 #EDE8C2

Accessibility & contrast

On white

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

On black

11.82
#D2C463 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C463
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C463#FFFFFF#000000##000000
##D2C4631.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5A
Deuteranopia (green-blind)
#D8C567
Tritanopia (blue-blind)
#E0B8AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c463;
/* rgb */ color: rgb(210, 196, 99);
/* oklch */ color: oklch(81.2% 0.120 101.2);
Tailwind
colors: {
  custom: {
    50: '#e2d592',
    500: '#d2c463',
    950: '#000000',
  },
}
SCSS
$custom: #d2c463;
$custom-light: #e2d592;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c463",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 99
  },
  "hsl": {
    "h": 52.432,
    "s": 55.224,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81212,
    "c": 0.1196,
    "h": 101.2
  },
  "luminance": 0.54082
}

Semantic roles & 50–950 ramp

primary
#D2C463
secondary
#434D97
accent
#37C323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C463

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

Preview Lab → · Contrast checker → · Palette generator →

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