#D2C93A#D2C93A

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

Color values

HEX#D2C93A
RGBrgb(210, 201, 58)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 72%, 82%)
CMYKcmyk(0%, 4.3%, 72.4%, 17.6%)
CIE-LABlab(79.49, -12.78, 68.14)
CIE-LCHlch(79.49, 69.33, 100.63°)
OKLaboklab(81.88% -0.0423 0.1504)
OKLCHoklch(81.88% 0.156 105.7)
XYZxyz(48.2307, 55.7822, 12.2286)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C93A #3A43D2
analogous
#D27D3A #D2C93A #8FD23A
triadic
#D2C93A #3AD2C9 #C93AD2
tetradic
#D2C93A #3AD27D #3A43D2 #D23A8F
square
#D2C93A #3AD27D #3A43D2 #D23A8F
split-complementary
#D2C93A #3A8FD2 #7D3AD2
monochromatic
#77711B #A8A126 #D2C93A #DDD76C #E9E49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C93A#FFFFFF#000000##000000
##D2C93A1.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)
#DAC21F
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#E2BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c93a;
/* rgb */ color: rgb(210, 201, 58);
/* oklch */ color: oklch(81.9% 0.156 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4d97a',
    500: '#d2c93a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c93a;
$custom-light: #e4d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c93a",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 56.447,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8188,
    "c": 0.15623,
    "h": 105.7
  },
  "luminance": 0.5578
}

Semantic roles & 50–950 ramp

primary
#D2C93A
secondary
#31367F
accent
#4CE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C93A

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

Preview Lab → · Contrast checker → · Palette generator →

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