#D2D741#D2D741

#D2D741 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.165 H 111.3°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D2D741
RGBrgb(210, 215, 65)
HSLhsl(62, 65%, 55%)
HSVhsv(62, 70%, 84%)
CMYKcmyk(2.3%, 0%, 69.8%, 15.7%)
CIE-LABlab(83.28, -19.41, 69.34)
CIE-LCHlch(83.28, 72.01, 105.64°)
OKLaboklab(84.92% -0.0602 0.1541)
OKLCHoklch(84.92% 0.165 111.3)
XYZxyz(51.8346, 62.6855, 14.3690)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D741 #4641D7
analogous
#D79141 #D2D741 #87D741
triadic
#D2D741 #41D2D7 #D741D2
tetradic
#D2D741 #41D791 #4641D7 #D74187
square
#D2D741 #41D791 #4641D7 #D74187
split-complementary
#D2D741 #4187D7 #9141D7
monochromatic
#7F821B #B0B526 #D2D741 #DEE274 #EAECA6

Accessibility & contrast

On white

1.55
#D2D741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D2D741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D741
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D741#FFFFFF#000000##000000
##D2D7411.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD27
Deuteranopia (green-blind)
#E8D14C
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d741;
/* rgb */ color: rgb(210, 215, 65);
/* oklch */ color: oklch(84.9% 0.165 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e37f',
    500: '#d2d741',
    950: '#000000',
  },
}
SCSS
$custom: #d2d741;
$custom-light: #e3e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d741",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 65
  },
  "hsl": {
    "h": 62,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.84916,
    "c": 0.16548,
    "h": 111.3
  },
  "luminance": 0.62684
}

Semantic roles & 50–950 ramp

primary
#D2D741
secondary
#363389
accent
#40E845
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D741

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

Preview Lab → · Contrast checker → · Palette generator →

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