#D2D943#D2D943

#D2D943 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.166 H 112.1°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D2D943
RGBrgb(210, 217, 67)
HSLhsl(63, 66%, 56%)
HSVhsv(63, 69%, 85%)
CMYKcmyk(3.2%, 0%, 69.1%, 14.9%)
CIE-LABlab(83.83, -20.29, 69.17)
CIE-LCHlch(83.83, 72.08, 106.35°)
OKLaboklab(85.36% -0.0625 0.1541)
OKLCHoklch(85.36% 0.166 112.1)
XYZxyz(52.4059, 63.7338, 14.8503)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D943 #4A43D9
analogous
#D99543 #D2D943 #87D943
triadic
#D2D943 #43D2D9 #D943D2
tetradic
#D2D943 #43D995 #4A43D9 #D94387
square
#D2D943 #43D995 #4A43D9 #D94387
split-complementary
#D2D943 #4387D9 #9543D9
monochromatic
#81861B #B2B925 #D2D943 #DEE376 #EAEEA9

Accessibility & contrast

On white

1.53
#D2D943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D2D943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D943
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D943#FFFFFF#000000##000000
##D2D9431.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2A
Deuteranopia (green-blind)
#EAD34E
Tritanopia (blue-blind)
#E0CCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d943;
/* rgb */ color: rgb(210, 217, 67);
/* oklch */ color: oklch(85.4% 0.166 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e480',
    500: '#d2d943',
    950: '#000000',
  },
}
SCSS
$custom: #d2d943;
$custom-light: #e3e480;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d943",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 67
  },
  "hsl": {
    "h": 62.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85361,
    "c": 0.16628,
    "h": 112.1
  },
  "luminance": 0.63733
}

Semantic roles & 50–950 ramp

primary
#D2D943
secondary
#38338D
accent
#3FE946
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D943

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

Preview Lab → · Contrast checker → · Palette generator →

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