#D2C13C#D2C13C

#D2C13C is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.148 H 101.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D2C13C
RGBrgb(210, 193, 60)
HSLhsl(53, 63%, 53%)
HSVhsv(53, 71%, 82%)
CMYKcmyk(0%, 8.1%, 71.4%, 17.6%)
CIE-LABlab(77.38, -8.63, 65.39)
CIE-LCHlch(77.38, 65.96, 97.51°)
OKLaboklab(80.21% -0.0304 0.1449)
OKLCHoklch(80.21% 0.148 101.8)
XYZxyz(46.4660, 52.1698, 11.8963)
Luminance0.5217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C13C #3C4DD2
analogous
#D2763C #D2C13C #98D23C
triadic
#D2C13C #3CD2C1 #C13CD2
tetradic
#D2C13C #3CD276 #3C4DD2 #D23C98
square
#D2C13C #3CD276 #3C4DD2 #D23C98
split-complementary
#D2C13C #3C98D2 #763CD2
monochromatic
#786D1C #AA9B27 #D2C13C #DDD16E #E9E19F

Accessibility & contrast

On white

1.84
#D2C13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D2C13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C13C
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C13C#FFFFFF#000000##000000
##D2C13C1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB26
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#E2B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c13c;
/* rgb */ color: rgb(210, 193, 60);
/* oklch */ color: oklch(80.2% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#e4d37a',
    500: '#d2c13c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c13c;
$custom-light: #e4d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c13c",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 53.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80208,
    "c": 0.14807,
    "h": 101.8
  },
  "luminance": 0.52168
}

Semantic roles & 50–950 ramp

primary
#D2C13C
secondary
#323B80
accent
#55E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C13C

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

Preview Lab → · Contrast checker → · Palette generator →

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