#D2D348#D2D348

#D2D348 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.1% C 0.157 H 109.7°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D2D348
RGBrgb(210, 211, 72)
HSLhsl(60, 61%, 55%)
HSVhsv(60, 66%, 83%)
CMYKcmyk(0.5%, 0%, 65.9%, 17.3%)
CIE-LABlab(82.25, -17.07, 65.72)
CIE-LCHlch(82.25, 67.90, 104.56°)
OKLaboklab(84.11% -0.053 0.1476)
OKLCHoklch(84.11% 0.157 109.7)
XYZxyz(51.0440, 60.7595, 15.1685)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D348 #4948D3
analogous
#D38F48 #D2D348 #8CD348
triadic
#D2D348 #48D2D3 #D348D2
tetradic
#D2D348 #48D38F #4948D3 #D3488C
square
#D2D348 #48D38F #4948D3 #D3488C
split-complementary
#D2D348 #488CD3 #8F48D3
monochromatic
#81811F #B2B32B #D2D348 #DEDF79 #EAEBAB

Accessibility & contrast

On white

1.60
#D2D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#D2D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D348
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D348#FFFFFF#000000##000000
##D2D3481.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E5CF51
Tritanopia (blue-blind)
#E0C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d348;
/* rgb */ color: rgb(210, 211, 72);
/* oklch */ color: oklch(84.1% 0.157 109.7);
Tailwind
colors: {
  custom: {
    50: '#e3e082',
    500: '#d2d348',
    950: '#000000',
  },
}
SCSS
$custom: #d2d348;
$custom-light: #e3e082;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d348",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 60.432,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8411,
    "c": 0.15685,
    "h": 109.7
  },
  "luminance": 0.60758
}

Semantic roles & 50–950 ramp

primary
#D2D348
secondary
#373789
accent
#43E445
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D348

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

Preview Lab → · Contrast checker → · Palette generator →

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