#D2C93F#D2C93F

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

Color values

HEX#D2C93F
RGBrgb(210, 201, 63)
HSLhsl(56, 62%, 54%)
HSVhsv(56, 70%, 82%)
CMYKcmyk(0%, 4.3%, 70%, 17.6%)
CIE-LABlab(79.52, -12.55, 66.38)
CIE-LCHlch(79.52, 67.56, 100.70°)
OKLaboklab(81.91% -0.0412 0.1475)
OKLCHoklch(81.91% 0.153 105.6)
XYZxyz(48.3641, 55.8356, 12.9314)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C93F #3F48D2
analogous
#D2803F #D2C93F #91D23F
triadic
#D2C93F #3FD2C9 #C93FD2
tetradic
#D2C93F #3FD280 #3F48D2 #D23F91
square
#D2C93F #3FD280 #3F48D2 #D23F91
split-complementary
#D2C93F #3F91D2 #803FD2
monochromatic
#7A741D #ACA428 #D2C93F #DED771 #E9E5A2

Accessibility & contrast

On white

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

On black

12.17
#D2C93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C93F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C93F#FFFFFF#000000##000000
##D2C93F1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c93f;
/* rgb */ color: rgb(210, 201, 63);
/* oklch */ color: oklch(81.9% 0.153 105.6);
Tailwind
colors: {
  custom: {
    50: '#e3d97d',
    500: '#d2c93f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c93f;
$custom-light: #e3d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c93f",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 56.327,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81914,
    "c": 0.15318,
    "h": 105.6
  },
  "luminance": 0.55834
}

Semantic roles & 50–950 ramp

primary
#D2C93F
secondary
#333882
accent
#4DE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C93F

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

Preview Lab → · Contrast checker → · Palette generator →

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