#D2C13E#D2C13E

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

Color values

HEX#D2C13E
RGBrgb(210, 193, 62)
HSLhsl(53, 62%, 53%)
HSVhsv(53, 70%, 82%)
CMYKcmyk(0%, 8.1%, 70.5%, 17.6%)
CIE-LABlab(77.40, -8.53, 64.66)
CIE-LCHlch(77.40, 65.22, 97.51°)
OKLaboklab(80.22% -0.0299 0.1437)
OKLCHoklch(80.22% 0.147 101.8)
XYZxyz(46.5199, 52.1914, 12.1800)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C13E #3E4FD2
analogous
#D2773E #D2C13E #99D23E
triadic
#D2C13E #3ED2C1 #C13ED2
tetradic
#D2C13E #3ED277 #3E4FD2 #D23E99
square
#D2C13E #3ED277 #3E4FD2 #D23E99
split-complementary
#D2C13E #3E99D2 #773ED2
monochromatic
#796F1C #AB9C28 #D2C13E #DED170 #E9E1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C13E#FFFFFF#000000##000000
##D2C13E1.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)
#D3BB29
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#E2B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c13e;
/* rgb */ color: rgb(210, 193, 62);
/* oklch */ color: oklch(80.2% 0.147 101.8);
Tailwind
colors: {
  custom: {
    50: '#e4d37b',
    500: '#d2c13e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c13e;
$custom-light: #e4d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c13e",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 62
  },
  "hsl": {
    "h": 53.108,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80222,
    "c": 0.14681,
    "h": 101.8
  },
  "luminance": 0.52189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C13E

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

Preview Lab → · Contrast checker → · Palette generator →

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