#D2C53F#D2C53F

#D2C53F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.150 H 103.7°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#D2C53F
RGBrgb(210, 197, 63)
HSLhsl(55, 62%, 54%)
HSVhsv(55, 70%, 82%)
CMYKcmyk(0%, 6.2%, 70%, 17.6%)
CIE-LABlab(78.46, -10.52, 65.33)
CIE-LCHlch(78.46, 66.18, 99.15°)
OKLaboklab(81.07% -0.0354 0.1453)
OKLCHoklch(81.07% 0.15 103.7)
XYZxyz(47.4438, 53.9949, 12.6246)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C53F #3F4CD2
analogous
#D27B3F #D2C53F #95D23F
triadic
#D2C53F #3FD2C5 #C53FD2
tetradic
#D2C53F #3FD27B #3F4CD2 #D23F95
square
#D2C53F #3FD27B #3F4CD2 #D23F95
split-complementary
#D2C53F #3F95D2 #7B3FD2
monochromatic
#7A721D #ACA028 #D2C53F #DED471 #E9E3A2

Accessibility & contrast

On white

1.78
#D2C53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#D2C53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C53F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C53F#FFFFFF#000000##000000
##D2C53F1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#E2B8AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c53f;
/* rgb */ color: rgb(210, 197, 63);
/* oklch */ color: oklch(81.1% 0.150 103.7);
Tailwind
colors: {
  custom: {
    50: '#e3d67c',
    500: '#d2c53f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c53f;
$custom-light: #e3d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c53f",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 54.694,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8107,
    "c": 0.14959,
    "h": 103.7
  },
  "luminance": 0.53993
}

Semantic roles & 50–950 ramp

primary
#D2C53F
secondary
#333A82
accent
#51E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C53F

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

Preview Lab → · Contrast checker → · Palette generator →

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