#D2CA3F#D2CA3F

#D2CA3F is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.154 H 106.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D2CA3F
RGBrgb(210, 202, 63)
HSLhsl(57, 62%, 54%)
HSVhsv(57, 70%, 82%)
CMYKcmyk(0%, 3.8%, 70%, 17.6%)
CIE-LABlab(79.79, -13.05, 66.64)
CIE-LCHlch(79.79, 67.91, 101.08°)
OKLaboklab(82.13% -0.0426 0.1481)
OKLCHoklch(82.13% 0.154 106)
XYZxyz(48.5980, 56.3033, 13.0094)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA3F #3F47D2
analogous
#D2803F #D2CA3F #90D23F
triadic
#D2CA3F #3FD2CA #CA3FD2
tetradic
#D2CA3F #3FD280 #3F47D2 #D23F90
square
#D2CA3F #3FD280 #3F47D2 #D23F90
split-complementary
#D2CA3F #3F90D2 #803FD2
monochromatic
#7A751D #ACA428 #D2CA3F #DED871 #E9E5A2

Accessibility & contrast

On white

1.71
#D2CA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#D2CA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA3F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA3F#FFFFFF#000000##000000
##D2CA3F1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC328
Deuteranopia (green-blind)
#DEC849
Tritanopia (blue-blind)
#E1BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca3f;
/* rgb */ color: rgb(210, 202, 63);
/* oklch */ color: oklch(82.1% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3d97d',
    500: '#d2ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca3f;
$custom-light: #e3d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca3f",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 56.735,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82126,
    "c": 0.15409,
    "h": 106
  },
  "luminance": 0.56302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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