#D1C63F#D1C63F

#D1C63F is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.151 H 104.6°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#D1C63F
RGBrgb(209, 198, 63)
HSLhsl(55, 61%, 53%)
HSVhsv(55, 70%, 82%)
CMYKcmyk(0%, 5.3%, 69.9%, 18%)
CIE-LABlab(78.64, -11.45, 65.48)
CIE-LCHlch(78.64, 66.48, 99.92°)
OKLaboklab(81.19% -0.038 0.1457)
OKLCHoklch(81.19% 0.151 104.6)
XYZxyz(47.3877, 54.3042, 12.6873)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C63F #3F4AD1
analogous
#D17D3F #D1C63F #93D13F
triadic
#D1C63F #3FD1C6 #C63FD1
tetradic
#D1C63F #3FD17D #3F4AD1 #D13F93
square
#D1C63F #3FD17D #3F4AD1 #D13F93
split-complementary
#D1C63F #3F93D1 #7D3FD1
monochromatic
#79721D #AAA029 #D1C63F #DDD570 #E9E3A2

Accessibility & contrast

On white

1.77
#D1C63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#D1C63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C63F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C63F#FFFFFF#000000##000000
##D1C63F1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF29
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#E0B9AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c63f;
/* rgb */ color: rgb(209, 198, 63);
/* oklch */ color: oklch(81.2% 0.151 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3d77c',
    500: '#d1c63f',
    950: '#000000',
  },
}
SCSS
$custom: #d1c63f;
$custom-light: #e3d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c63f",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 63
  },
  "hsl": {
    "h": 55.479,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81192,
    "c": 0.15056,
    "h": 104.6
  },
  "luminance": 0.54302
}

Semantic roles & 50–950 ramp

primary
#D1C63F
secondary
#333981
accent
#4FE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C63F

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

Preview Lab → · Contrast checker → · Palette generator →

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