#D2C658#D2C658

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

Color values

HEX#D2C658
RGBrgb(210, 198, 88)
HSLhsl(54, 58%, 58%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 5.7%, 58.1%, 17.6%)
CIE-LABlab(78.92, -9.51, 55.44)
CIE-LCHlch(78.92, 56.25, 99.73°)
OKLaboklab(81.5% -0.0298 0.1281)
OKLCHoklch(81.5% 0.132 103.1)
XYZxyz(48.5356, 54.7961, 17.2507)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C658 #5864D2
analogous
#D28958 #D2C658 #A1D258
triadic
#D2C658 #58D2C6 #C658D2
tetradic
#D2C658 #58D289 #5864D2 #D258A1
square
#D2C658 #58D289 #5864D2 #D258A1
split-complementary
#D2C658 #58A1D2 #8958D2
monochromatic
#8A8025 #BBAD32 #D2C658 #DFD688 #ECE7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C658#FFFFFF#000000##000000
##D2C6581.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)
#D6C04C
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#E0BAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c658;
/* rgb */ color: rgb(210, 198, 88);
/* oklch */ color: oklch(81.5% 0.132 103.1);
Tailwind
colors: {
  custom: {
    50: '#e2d78b',
    500: '#d2c658',
    950: '#000000',
  },
}
SCSS
$custom: #d2c658;
$custom-light: #e2d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c658",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 54.098,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81503,
    "c": 0.13155,
    "h": 103.1
  },
  "luminance": 0.54794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C658

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

Preview Lab → · Contrast checker → · Palette generator →

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