#D2C93D#D2C93D

#D2C93D is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.154 H 105.6°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D2C93D
RGBrgb(210, 201, 61)
HSLhsl(56, 62%, 53%)
HSVhsv(56, 71%, 82%)
CMYKcmyk(0%, 4.3%, 71%, 17.6%)
CIE-LABlab(79.51, -12.65, 67.10)
CIE-LCHlch(79.51, 68.28, 100.67°)
OKLaboklab(81.9% -0.0416 0.1487)
OKLCHoklch(81.9% 0.154 105.6)
XYZxyz(48.3092, 55.8136, 12.6424)
Luminance0.5581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C93D #3D46D2
analogous
#D27E3D #D2C93D #90D23D
triadic
#D2C93D #3DD2C9 #C93DD2
tetradic
#D2C93D #3DD27E #3D46D2 #D23D90
square
#D2C93D #3DD27E #3D46D2 #D23D90
split-complementary
#D2C93D #3D90D2 #7E3DD2
monochromatic
#79731C #AAA228 #D2C93D #DED76F #E9E5A0

Accessibility & contrast

On white

1.73
#D2C93D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#D2C93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C93D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C93D#FFFFFF#000000##000000
##D2C93D1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC225
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#E1BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c93d;
/* rgb */ color: rgb(210, 201, 61);
/* oklch */ color: oklch(81.9% 0.154 105.6);
Tailwind
colors: {
  custom: {
    50: '#e3d97c',
    500: '#d2c93d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c93d;
$custom-light: #e3d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c93d",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 61
  },
  "hsl": {
    "h": 56.376,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.819,
    "c": 0.15443,
    "h": 105.6
  },
  "luminance": 0.55812
}

Semantic roles & 50–950 ramp

primary
#D2C93D
secondary
#323781
accent
#4CE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C93D

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

Preview Lab → · Contrast checker → · Palette generator →

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