#D2C358#D2C358

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

Color values

HEX#D2C358
RGBrgb(210, 195, 88)
HSLhsl(53, 58%, 58%)
HSVhsv(53, 58%, 82%)
CMYKcmyk(0%, 7.1%, 58.1%, 17.6%)
CIE-LABlab(78.13, -7.97, 54.55)
CIE-LCHlch(78.13, 55.13, 98.31°)
OKLaboklab(80.88% -0.0254 0.1262)
OKLCHoklch(80.88% 0.129 101.4)
XYZxyz(47.8566, 53.4383, 17.0244)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C358 #5867D2
analogous
#D28658 #D2C358 #A4D258
triadic
#D2C358 #58D2C3 #C358D2
tetradic
#D2C358 #58D286 #5867D2 #D258A4
square
#D2C358 #58D286 #5867D2 #D258A4
split-complementary
#D2C358 #58A4D2 #8658D2
monochromatic
#8A7E25 #BBAA32 #D2C358 #DFD488 #ECE6B8

Accessibility & contrast

On white

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

On black

11.69
#D2C358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C358
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C358#FFFFFF#000000##000000
##D2C3581.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4D
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#E1B7AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c358;
/* rgb */ color: rgb(210, 195, 88);
/* oklch */ color: oklch(80.9% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#e2d48b',
    500: '#d2c358',
    950: '#000000',
  },
}
SCSS
$custom: #d2c358;
$custom-light: #e2d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c358",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 52.623,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80876,
    "c": 0.12876,
    "h": 101.4
  },
  "luminance": 0.53436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C358

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

Preview Lab → · Contrast checker → · Palette generator →

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