#D2C65A#D2C65A

#D2C65A is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.130 H 103.0°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D2C65A
RGBrgb(210, 198, 90)
HSLhsl(54, 57%, 59%)
HSVhsv(54, 57%, 82%)
CMYKcmyk(0%, 5.7%, 57.1%, 17.6%)
CIE-LABlab(78.94, -9.36, 54.56)
CIE-LCHlch(78.94, 55.35, 99.73°)
OKLaboklab(81.53% -0.0292 0.1265)
OKLCHoklch(81.53% 0.13 103)
XYZxyz(48.6195, 54.8297, 17.6930)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C65A #5A66D2
analogous
#D28A5A #D2C65A #A2D25A
triadic
#D2C65A #5AD2C6 #C65AD2
tetradic
#D2C65A #5AD28A #5A66D2 #D25AA2
square
#D2C65A #5AD28A #5A66D2 #D25AA2
split-complementary
#D2C65A #5AA2D2 #8A5AD2
monochromatic
#8C8126 #BCAE33 #D2C65A #DFD78A #ECE7BA

Accessibility & contrast

On white

1.76
#D2C65A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D2C65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C65A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C65A#FFFFFF#000000##000000
##D2C65A1.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04F
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#E0BAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c65a;
/* rgb */ color: rgb(210, 198, 90);
/* oklch */ color: oklch(81.5% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#e2d78c',
    500: '#d2c65a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c65a;
$custom-light: #e2d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c65a",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 90
  },
  "hsl": {
    "h": 54,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81525,
    "c": 0.12979,
    "h": 103
  },
  "luminance": 0.54828
}

Semantic roles & 50–950 ramp

primary
#D2C65A
secondary
#3E4792
accent
#57E047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C65A

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

Preview Lab → · Contrast checker → · Palette generator →

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