#D2D35A#D2D35A

#D2D35A is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.143 H 109.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D2D35A
RGBrgb(210, 211, 90)
HSLhsl(60, 58%, 59%)
HSVhsv(60, 57%, 83%)
CMYKcmyk(0.5%, 0%, 57.3%, 17.3%)
CIE-LABlab(82.39, -15.91, 58.42)
CIE-LCHlch(82.39, 60.55, 105.24°)
OKLaboklab(84.27% -0.0478 0.1347)
OKLCHoklch(84.27% 0.143 109.6)
XYZxyz(51.7195, 61.0297, 18.7263)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D35A #5B5AD3
analogous
#D3985A #D2D35A #96D35A
triadic
#D2D35A #5AD2D3 #D35AD2
tetradic
#D2D35A #5AD398 #5B5AD3 #D35A96
square
#D2D35A #5AD398 #5B5AD3 #D35A96
split-complementary
#D2D35A #5A96D3 #985AD3
monochromatic
#8C8D26 #BCBD32 #D2D35A #DFE08A #ECEDBB

Accessibility & contrast

On white

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

On black

13.21
#D2D35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D35A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D35A#FFFFFF#000000##000000
##D2D35A1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4D
Deuteranopia (green-blind)
#E4CF61
Tritanopia (blue-blind)
#DFC7B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d35a;
/* rgb */ color: rgb(210, 211, 90);
/* oklch */ color: oklch(84.3% 0.143 109.6);
Tailwind
colors: {
  custom: {
    50: '#e2e08d',
    500: '#d2d35a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d35a;
$custom-light: #e2e08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d35a",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 90
  },
  "hsl": {
    "h": 60.496,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84273,
    "c": 0.14297,
    "h": 109.6
  },
  "luminance": 0.61028
}

Semantic roles & 50–950 ramp

primary
#D2D35A
secondary
#3F3E93
accent
#47E148
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D35A

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

Preview Lab → · Contrast checker → · Palette generator →

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