#D2C357#D2C357

#D2C357 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.130 H 101.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#D2C357
RGBrgb(210, 195, 87)
HSLhsl(53, 58%, 58%)
HSVhsv(53, 59%, 82%)
CMYKcmyk(0%, 7.1%, 58.6%, 17.6%)
CIE-LABlab(78.12, -8.04, 54.99)
CIE-LCHlch(78.12, 55.58, 98.32°)
OKLaboklab(80.86% -0.0258 0.127)
OKLCHoklch(80.86% 0.13 101.5)
XYZxyz(47.8155, 53.4218, 16.8077)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C357 #5766D2
analogous
#D28557 #D2C357 #A3D257
triadic
#D2C357 #57D2C3 #C357D2
tetradic
#D2C357 #57D285 #5766D2 #D257A3
square
#D2C357 #57D285 #5766D2 #D257A3
split-complementary
#D2C357 #57A3D2 #8557D2
monochromatic
#8A7D25 #BAA932 #D2C357 #DFD487 #ECE5B8

Accessibility & contrast

On white

1.80
#D2C357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#D2C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C357
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C357#FFFFFF#000000##000000
##D2C3571.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4C
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#E1B7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c357;
/* rgb */ color: rgb(210, 195, 87);
/* oklch */ color: oklch(80.9% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#e2d48a',
    500: '#d2c357',
    950: '#000000',
  },
}
SCSS
$custom: #d2c357;
$custom-light: #e2d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c357",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 52.683,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80865,
    "c": 0.12963,
    "h": 101.5
  },
  "luminance": 0.5342
}

Semantic roles & 50–950 ramp

primary
#D2C357
secondary
#3D4790
accent
#5AE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C357

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

Preview Lab → · Contrast checker → · Palette generator →

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