#D2D75F#D2D75F

#D2D75F is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.143 H 111.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D2D75F
RGBrgb(210, 215, 95)
HSLhsl(63, 60%, 61%)
HSVhsv(63, 56%, 84%)
CMYKcmyk(2.3%, 0%, 55.8%, 15.7%)
CIE-LABlab(83.51, -17.52, 57.46)
CIE-LCHlch(83.51, 60.08, 106.96°)
OKLaboklab(85.18% -0.0519 0.1333)
OKLCHoklch(85.18% 0.143 111.3)
XYZxyz(52.9456, 63.1299, 20.2205)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D75F #645FD7
analogous
#D7A05F #D2D75F #96D75F
triadic
#D2D75F #5FD2D7 #D75FD2
tetradic
#D2D75F #5FD7A0 #645FD7 #D75F96
square
#D2D75F #5FD7A0 #645FD7 #D75F96
split-complementary
#D2D75F #5F96D7 #A05FD7
monochromatic
#919626 #C1C732 #D2D75F #E0E390 #EEEFC1

Accessibility & contrast

On white

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

On black

13.63
#D2D75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D75F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D75F#FFFFFF#000000##000000
##D2D75F1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE52
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#DFCBBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d75f;
/* rgb */ color: rgb(210, 215, 95);
/* oklch */ color: oklch(85.2% 0.143 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e390',
    500: '#d2d75f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d75f;
$custom-light: #e2e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d75f",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 62.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85178,
    "c": 0.14301,
    "h": 111.3
  },
  "luminance": 0.63129
}

Semantic roles & 50–950 ramp

primary
#D2D75F
secondary
#433F9B
accent
#1EC825
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D75F

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

Preview Lab → · Contrast checker → · Palette generator →

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