#D2C13F#D2C13F

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

Color values

HEX#D2C13F
RGBrgb(210, 193, 63)
HSLhsl(53, 62%, 54%)
HSVhsv(53, 70%, 82%)
CMYKcmyk(0%, 8.1%, 70%, 17.6%)
CIE-LABlab(77.40, -8.48, 64.29)
CIE-LCHlch(77.40, 64.84, 97.51°)
OKLaboklab(80.23% -0.0297 0.1431)
OKLCHoklch(80.23% 0.146 101.7)
XYZxyz(46.5476, 52.2025, 12.3259)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C13F #3F50D2
analogous
#D2773F #D2C13F #99D23F
triadic
#D2C13F #3FD2C1 #C13FD2
tetradic
#D2C13F #3FD277 #3F50D2 #D23F99
square
#D2C13F #3FD277 #3F50D2 #D23F99
split-complementary
#D2C13F #3F99D2 #773FD2
monochromatic
#7A6F1D #AC9C28 #D2C13F #DED171 #E9E1A2

Accessibility & contrast

On white

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

On black

11.44
#D2C13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C13F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C13F#FFFFFF#000000##000000
##D2C13F1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c13f;
/* rgb */ color: rgb(210, 193, 63);
/* oklch */ color: oklch(80.2% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#e3d37c',
    500: '#d2c13f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c13f;
$custom-light: #e3d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c13f",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 63
  },
  "hsl": {
    "h": 53.061,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8023,
    "c": 0.14616,
    "h": 101.7
  },
  "luminance": 0.522
}

Semantic roles & 50–950 ramp

primary
#D2C13F
secondary
#333C82
accent
#55E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C13F

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

Preview Lab → · Contrast checker → · Palette generator →

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