#D2C657#D2C657

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

Color values

HEX#D2C657
RGBrgb(210, 198, 87)
HSLhsl(54, 58%, 58%)
HSVhsv(54, 59%, 82%)
CMYKcmyk(0%, 5.7%, 58.6%, 17.6%)
CIE-LABlab(78.91, -9.58, 55.88)
CIE-LCHlch(78.91, 56.69, 99.73°)
OKLaboklab(81.49% -0.0301 0.1289)
OKLCHoklch(81.49% 0.132 103.2)
XYZxyz(48.4944, 54.7797, 17.0340)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C657 #5763D2
analogous
#D28857 #D2C657 #A0D257
triadic
#D2C657 #57D2C6 #C657D2
tetradic
#D2C657 #57D288 #5763D2 #D257A0
square
#D2C657 #57D288 #5763D2 #D257A0
split-complementary
#D2C657 #57A0D2 #8857D2
monochromatic
#8A8025 #BAAD32 #D2C657 #DFD687 #ECE7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C657#FFFFFF#000000##000000
##D2C6571.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)
#D6C04B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#E0BAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c657;
/* rgb */ color: rgb(210, 198, 87);
/* oklch */ color: oklch(81.5% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#e2d78a',
    500: '#d2c657',
    950: '#000000',
  },
}
SCSS
$custom: #d2c657;
$custom-light: #e2d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c657",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 54.146,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81493,
    "c": 0.13241,
    "h": 103.2
  },
  "luminance": 0.54778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C657

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

Preview Lab → · Contrast checker → · Palette generator →

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