#D2C63A#D2C63A

#D2C63A is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.154 H 104.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D2C63A
RGBrgb(210, 198, 58)
HSLhsl(55, 63%, 53%)
HSVhsv(55, 72%, 82%)
CMYKcmyk(0%, 5.7%, 72.4%, 17.6%)
CIE-LABlab(78.69, -11.27, 67.38)
CIE-LCHlch(78.69, 68.32, 99.49°)
OKLaboklab(81.25% -0.038 0.1488)
OKLCHoklch(81.25% 0.154 104.3)
XYZxyz(47.5382, 54.3972, 11.9978)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C63A #3A46D2
analogous
#D27A3A #D2C63A #92D23A
triadic
#D2C63A #3AD2C6 #C63AD2
tetradic
#D2C63A #3AD27A #3A46D2 #D23A92
square
#D2C63A #3AD27A #3A46D2 #D23A92
split-complementary
#D2C63A #3A92D2 #7A3AD2
monochromatic
#776F1B #A89E26 #D2C63A #DDD46C #E9E39E

Accessibility & contrast

On white

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

On black

11.88
#D2C63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C63A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C63A#FFFFFF#000000##000000
##D2C63A1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF21
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#E2B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c63a;
/* rgb */ color: rgb(210, 198, 58);
/* oklch */ color: oklch(81.2% 0.154 104.3);
Tailwind
colors: {
  custom: {
    50: '#e4d67a',
    500: '#d2c63a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c63a;
$custom-light: #e4d67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c63a",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 58
  },
  "hsl": {
    "h": 55.263,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81246,
    "c": 0.15356,
    "h": 104.3
  },
  "luminance": 0.54395
}

Semantic roles & 50–950 ramp

primary
#D2C63A
secondary
#31377F
accent
#4FE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C63A

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

Preview Lab → · Contrast checker → · Palette generator →

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