#D2C659#D2C659

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

Color values

HEX#D2C659
RGBrgb(210, 198, 89)
HSLhsl(54, 57%, 59%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 5.7%, 57.6%, 17.6%)
CIE-LABlab(78.93, -9.43, 55.00)
CIE-LCHlch(78.93, 55.80, 99.73°)
OKLaboklab(81.51% -0.0295 0.1273)
OKLCHoklch(81.51% 0.131 103.1)
XYZxyz(48.5773, 54.8128, 17.4704)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C659 #5965D2
analogous
#D28959 #D2C659 #A1D259
triadic
#D2C659 #59D2C6 #C659D2
tetradic
#D2C659 #59D289 #5965D2 #D259A1
square
#D2C659 #59D289 #5965D2 #D259A1
split-complementary
#D2C659 #59A1D2 #8959D2
monochromatic
#8B8126 #BBAE33 #D2C659 #DFD789 #ECE7B9

Accessibility & contrast

On white

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

On black

11.96
#D2C659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C659
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C659#FFFFFF#000000##000000
##D2C6591.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c659;
/* rgb */ color: rgb(210, 198, 89);
/* oklch */ color: oklch(81.5% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#e2d78c',
    500: '#d2c659',
    950: '#000000',
  },
}
SCSS
$custom: #d2c659;
$custom-light: #e2d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c659",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 89
  },
  "hsl": {
    "h": 54.05,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81514,
    "c": 0.13068,
    "h": 103.1
  },
  "luminance": 0.54811
}

Semantic roles & 50–950 ramp

primary
#D2C659
secondary
#3E4691
accent
#56E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C659

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

Preview Lab → · Contrast checker → · Palette generator →

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