#D2D163#D2D163

#D2D163 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.133 H 108.5°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D2D163
RGBrgb(210, 209, 99)
HSLhsl(59, 55%, 61%)
HSVhsv(59, 53%, 82%)
CMYKcmyk(0%, 0.5%, 52.9%, 17.6%)
CIE-LABlab(81.95, -14.22, 53.87)
CIE-LCHlch(81.95, 55.72, 104.79°)
OKLaboklab(83.95% -0.0421 0.126)
OKLCHoklch(83.95% 0.133 108.5)
XYZxyz(51.6323, 60.2048, 20.7028)
Luminance0.6020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D163 #6364D2
analogous
#D29963 #D2D163 #9CD263
triadic
#D2D163 #63D2D1 #D163D2
tetradic
#D2D163 #63D299 #6364D2 #D2639C
square
#D2D163 #63D299 #6364D2 #D2639C
split-complementary
#D2D163 #639CD2 #9963D2
monochromatic
#91902A #C0BF37 #D2D163 #E0DF92 #EDEDC2

Accessibility & contrast

On white

1.61
#D2D163 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#D2D163 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D163
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D163#FFFFFF#000000##000000
##D2D1631.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA58
Deuteranopia (green-blind)
#E2CE69
Tritanopia (blue-blind)
#DFC5B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d163;
/* rgb */ color: rgb(210, 209, 99);
/* oklch */ color: oklch(83.9% 0.133 108.5);
Tailwind
colors: {
  custom: {
    50: '#e2de93',
    500: '#d2d163',
    950: '#000000',
  },
}
SCSS
$custom: #d2d163;
$custom-light: #e2de93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d163",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 99
  },
  "hsl": {
    "h": 59.459,
    "s": 55.224,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83946,
    "c": 0.13283,
    "h": 108.5
  },
  "luminance": 0.60203
}

Semantic roles & 50–950 ramp

primary
#D2D163
secondary
#434397
accent
#24C323
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D163

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

Preview Lab → · Contrast checker → · Palette generator →

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