#D2C63F#D2C63F

#D2C63F is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.150 H 104.2°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D2C63F
RGBrgb(210, 198, 63)
HSLhsl(55, 62%, 54%)
HSVhsv(55, 70%, 82%)
CMYKcmyk(0%, 5.7%, 70%, 17.6%)
CIE-LABlab(78.72, -11.03, 65.60)
CIE-LCHlch(78.72, 66.52, 99.54°)
OKLaboklab(81.28% -0.0369 0.1459)
OKLCHoklch(81.28% 0.15 104.2)
XYZxyz(47.6716, 54.4506, 12.7006)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C63F #3F4BD2
analogous
#D27C3F #D2C63F #94D23F
triadic
#D2C63F #3FD2C6 #C63FD2
tetradic
#D2C63F #3FD27C #3F4BD2 #D23F94
square
#D2C63F #3FD27C #3F4BD2 #D23F94
split-complementary
#D2C63F #3F94D2 #7C3FD2
monochromatic
#7A721D #ACA128 #D2C63F #DED571 #E9E3A2

Accessibility & contrast

On white

1.77
#D2C63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#D2C63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C63F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C63F#FFFFFF#000000##000000
##D2C63F1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF29
Deuteranopia (green-blind)
#DBC648
Tritanopia (blue-blind)
#E2B9AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c63f;
/* rgb */ color: rgb(210, 198, 63);
/* oklch */ color: oklch(81.3% 0.150 104.2);
Tailwind
colors: {
  custom: {
    50: '#e3d77c',
    500: '#d2c63f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c63f;
$custom-light: #e3d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c63f",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 63
  },
  "hsl": {
    "h": 55.102,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8128,
    "c": 0.15048,
    "h": 104.2
  },
  "luminance": 0.54449
}

Semantic roles & 50–950 ramp

primary
#D2C63F
secondary
#333A82
accent
#50E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C63F

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

Preview Lab → · Contrast checker → · Palette generator →

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