#D2C65D#D2C65D

#D2C65D is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.127 H 102.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#D2C65D
RGBrgb(210, 198, 93)
HSLhsl(54, 57%, 59%)
HSVhsv(54, 56%, 82%)
CMYKcmyk(0%, 5.7%, 55.7%, 17.6%)
CIE-LABlab(78.97, -9.13, 53.22)
CIE-LCHlch(78.97, 53.99, 99.74°)
OKLaboklab(81.56% -0.0282 0.1239)
OKLCHoklch(81.56% 0.127 102.8)
XYZxyz(48.7498, 54.8818, 18.3791)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C65D #5D69D2
analogous
#D28C5D #D2C65D #A4D25D
triadic
#D2C65D #5DD2C6 #C65DD2
tetradic
#D2C65D #5DD28C #5D69D2 #D25DA4
square
#D2C65D #5DD28C #5D69D2 #D25DA4
split-complementary
#D2C65D #5DA4D2 #8C5DD2
monochromatic
#8D8327 #BDAF35 #D2C65D #DFD78D #EDE8BD

Accessibility & contrast

On white

1.75
#D2C65D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#D2C65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C65D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C65D#FFFFFF#000000##000000
##D2C65D1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C053
Deuteranopia (green-blind)
#DAC662
Tritanopia (blue-blind)
#E0BAAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c65d;
/* rgb */ color: rgb(210, 198, 93);
/* oklch */ color: oklch(81.6% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#e2d78e',
    500: '#d2c65d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c65d;
$custom-light: #e2d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c65d",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 93
  },
  "hsl": {
    "h": 53.846,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81559,
    "c": 0.1271,
    "h": 102.8
  },
  "luminance": 0.5488
}

Semantic roles & 50–950 ramp

primary
#D2C65D
secondary
#404893
accent
#58E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C65D

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

Preview Lab → · Contrast checker → · Palette generator →

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