#D2D35F#D2D35F

#D2D35F is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.3% C 0.139 H 109.5°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D2D35F
RGBrgb(210, 211, 95)
HSLhsl(61, 57%, 60%)
HSVhsv(61, 55%, 83%)
CMYKcmyk(0.5%, 0%, 55%, 17.3%)
CIE-LABlab(82.44, -15.54, 56.26)
CIE-LCHlch(82.44, 58.36, 105.44°)
OKLaboklab(84.33% -0.0463 0.1307)
OKLCHoklch(84.33% 0.139 109.5)
XYZxyz(51.9395, 61.1177, 19.8851)
Luminance0.6112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D35F #605FD3
analogous
#D39A5F #D2D35F #98D35F
triadic
#D2D35F #5FD2D3 #D35FD2
tetradic
#D2D35F #5FD39A #605FD3 #D35F98
square
#D2D35F #5FD39A #605FD3 #D35F98
split-complementary
#D2D35F #5F98D3 #9A5FD3
monochromatic
#8F9028 #BFC035 #D2D35F #E0E08F #EDEDBF

Accessibility & contrast

On white

1.59
#D2D35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#D2D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D35F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D35F#FFFFFF#000000##000000
##D2D35F1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E3CF65
Tritanopia (blue-blind)
#DFC7BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d35f;
/* rgb */ color: rgb(210, 211, 95);
/* oklch */ color: oklch(84.3% 0.139 109.5);
Tailwind
colors: {
  custom: {
    50: '#e2e090',
    500: '#d2d35f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d35f;
$custom-light: #e2e090;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d35f",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 60.517,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.84326,
    "c": 0.13864,
    "h": 109.5
  },
  "luminance": 0.61116
}

Semantic roles & 50–950 ramp

primary
#D2D35F
secondary
#414096
accent
#48E049
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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