#D2D143#D2D143

#D2D143 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.158 H 109.0°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D2D143
RGBrgb(210, 209, 67)
HSLhsl(60, 61%, 54%)
HSVhsv(60, 68%, 82%)
CMYKcmyk(0%, 0.5%, 68.1%, 17.6%)
CIE-LABlab(81.68, -16.35, 67.04)
CIE-LCHlch(81.68, 69.00, 103.71°)
OKLaboklab(83.65% -0.0515 0.1496)
OKLCHoklch(83.65% 0.158 109)
XYZxyz(50.3937, 59.7093, 14.1796)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D143 #4344D2
analogous
#D28943 #D2D143 #8CD243
triadic
#D2D143 #43D2D1 #D143D2
tetradic
#D2D143 #43D289 #4344D2 #D2438C
square
#D2D143 #43D289 #4344D2 #D2438C
split-complementary
#D2D143 #438CD2 #8943D2
monochromatic
#7D7C1E #AEAD2A #D2D143 #DEDD74 #EAE9A6

Accessibility & contrast

On white

1.62
#D2D143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D2D143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D143
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D143#FFFFFF#000000##000000
##D2D1431.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C82D
Deuteranopia (green-blind)
#E4CD4D
Tritanopia (blue-blind)
#E1C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d143;
/* rgb */ color: rgb(210, 209, 67);
/* oklch */ color: oklch(83.6% 0.158 109.0);
Tailwind
colors: {
  custom: {
    50: '#e3de80',
    500: '#d2d143',
    950: '#000000',
  },
}
SCSS
$custom: #d2d143;
$custom-light: #e3de80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d143",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 67
  },
  "hsl": {
    "h": 59.58,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83645,
    "c": 0.15822,
    "h": 109
  },
  "luminance": 0.59708
}

Semantic roles & 50–950 ramp

primary
#D2D143
secondary
#353584
accent
#44E443
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D143

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

Preview Lab → · Contrast checker → · Palette generator →

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