#D1C253#D1C253

#D1C253 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.132 H 101.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D1C253
RGBrgb(209, 194, 83)
HSLhsl(53, 58%, 57%)
HSVhsv(53, 60%, 82%)
CMYKcmyk(0%, 7.2%, 60.3%, 18%)
CIE-LABlab(77.74, -8.23, 56.33)
CIE-LCHlch(77.74, 56.93, 98.31°)
OKLaboklab(80.53% -0.0267 0.1294)
OKLCHoklch(80.53% 0.132 101.7)
XYZxyz(47.1494, 52.7653, 15.8831)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C253 #5362D1
analogous
#D18353 #D1C253 #A1D153
triadic
#D1C253 #53D1C2 #C253D1
tetradic
#D1C253 #53D183 #5362D1 #D153A1
square
#D1C253 #53D183 #5362D1 #D153A1
split-complementary
#D1C253 #53A1D1 #8353D1
monochromatic
#867A24 #B6A631 #D1C253 #DED383 #EBE4B4

Accessibility & contrast

On white

1.82
#D1C253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D1C253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C253
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C253#FFFFFF#000000##000000
##D1C2531.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC47
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#E0B6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c253;
/* rgb */ color: rgb(209, 194, 83);
/* oklch */ color: oklch(80.5% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#e2d488',
    500: '#d1c253',
    950: '#000000',
  },
}
SCSS
$custom: #d1c253;
$custom-light: #e2d488;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c253",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 52.857,
    "s": 57.798,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80525,
    "c": 0.13212,
    "h": 101.7
  },
  "luminance": 0.52763
}

Semantic roles & 50–950 ramp

primary
#D1C253
secondary
#3C458D
accent
#59E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C253

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

Preview Lab → · Contrast checker → · Palette generator →

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