#D2D843#D2D843

#D2D843 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.165 H 111.7°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D2D843
RGBrgb(210, 216, 67)
HSLhsl(62, 66%, 55%)
HSVhsv(62, 69%, 85%)
CMYKcmyk(2.8%, 0%, 69%, 15.3%)
CIE-LABlab(83.56, -19.80, 68.90)
CIE-LCHlch(83.56, 71.69, 106.03°)
OKLaboklab(85.15% -0.0611 0.1535)
OKLCHoklch(85.15% 0.165 111.7)
XYZxyz(52.1490, 63.2199, 14.7647)
Luminance0.6322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D843 #4943D8
analogous
#D89343 #D2D843 #87D843
triadic
#D2D843 #43D2D8 #D843D2
tetradic
#D2D843 #43D893 #4943D8 #D84387
square
#D2D843 #43D893 #4943D8 #D84387
split-complementary
#D2D843 #4387D8 #9343D8
monochromatic
#81851C #B2B826 #D2D843 #DEE376 #EAEDA8

Accessibility & contrast

On white

1.54
#D2D843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D2D843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D843
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D843#FFFFFF#000000##000000
##D2D8431.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2A
Deuteranopia (green-blind)
#E9D24E
Tritanopia (blue-blind)
#E0CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d843;
/* rgb */ color: rgb(210, 216, 67);
/* oklch */ color: oklch(85.1% 0.165 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e380',
    500: '#d2d843',
    950: '#000000',
  },
}
SCSS
$custom: #d2d843;
$custom-light: #e3e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d843",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 62.416,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85145,
    "c": 0.16525,
    "h": 111.7
  },
  "luminance": 0.63219
}

Semantic roles & 50–950 ramp

primary
#D2D843
secondary
#37348C
accent
#3FE946
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D843

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

Preview Lab → · Contrast checker → · Palette generator →

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