#D2C65B#D2C65B

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

Color values

HEX#D2C65B
RGBrgb(210, 198, 91)
HSLhsl(54, 57%, 59%)
HSVhsv(54, 57%, 82%)
CMYKcmyk(0%, 5.7%, 56.7%, 17.6%)
CIE-LABlab(78.95, -9.28, 54.11)
CIE-LCHlch(78.95, 54.90, 99.74°)
OKLaboklab(81.54% -0.0289 0.1256)
OKLCHoklch(81.54% 0.129 102.9)
XYZxyz(48.6624, 54.8469, 17.9187)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C65B #5B67D2
analogous
#D28B5B #D2C65B #A3D25B
triadic
#D2C65B #5BD2C6 #C65BD2
tetradic
#D2C65B #5BD28B #5B67D2 #D25BA3
square
#D2C65B #5BD28B #5B67D2 #D25BA3
split-complementary
#D2C65B #5BA3D2 #8B5BD2
monochromatic
#8C8226 #BCAE34 #D2C65B #DFD78B #ECE7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C65B#FFFFFF#000000##000000
##D2C65B1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c65b;
/* rgb */ color: rgb(210, 198, 91);
/* oklch */ color: oklch(81.5% 0.129 102.9);
Tailwind
colors: {
  custom: {
    50: '#e2d78d',
    500: '#d2c65b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c65b;
$custom-light: #e2d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c65b",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 53.95,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81536,
    "c": 0.1289,
    "h": 102.9
  },
  "luminance": 0.54845
}

Semantic roles & 50–950 ramp

primary
#D2C65B
secondary
#3F4792
accent
#57E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C65B

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

Preview Lab → · Contrast checker → · Palette generator →

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