#D2C93C#D2C93C

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

Color values

HEX#D2C93C
RGBrgb(210, 201, 60)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 71%, 82%)
CMYKcmyk(0%, 4.3%, 71.4%, 17.6%)
CIE-LABlab(79.50, -12.69, 67.45)
CIE-LCHlch(79.50, 68.63, 100.66°)
OKLaboklab(81.89% -0.0419 0.1493)
OKLCHoklch(81.89% 0.155 105.7)
XYZxyz(48.2826, 55.8030, 12.5018)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C93C #3C45D2
analogous
#D27E3C #D2C93C #90D23C
triadic
#D2C93C #3CD2C9 #C93CD2
tetradic
#D2C93C #3CD27E #3C45D2 #D23C90
square
#D2C93C #3CD27E #3C45D2 #D23C90
split-complementary
#D2C93C #3C90D2 #7E3CD2
monochromatic
#78721C #AAA227 #D2C93C #DDD76E #E9E59F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C93C#FFFFFF#000000##000000
##D2C93C1.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)
#DAC223
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c93c;
/* rgb */ color: rgb(210, 201, 60);
/* oklch */ color: oklch(81.9% 0.155 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4d97b',
    500: '#d2c93c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c93c;
$custom-light: #e4d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c93c",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 56.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81894,
    "c": 0.15504,
    "h": 105.7
  },
  "luminance": 0.55801
}

Semantic roles & 50–950 ramp

primary
#D2C93C
secondary
#323780
accent
#4CE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C93C

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

Preview Lab → · Contrast checker → · Palette generator →

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