#D2D370#D2D370

#D2D370 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.5% C 0.122 H 109.3°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#D2D370
RGBrgb(210, 211, 112)
HSLhsl(61, 53%, 63%)
HSVhsv(61, 47%, 83%)
CMYKcmyk(0.5%, 0%, 46.9%, 17.3%)
CIE-LABlab(82.63, -14.09, 48.55)
CIE-LCHlch(82.63, 50.55, 106.18°)
OKLaboklab(84.53% -0.0404 0.1156)
OKLCHoklch(84.53% 0.122 109.3)
XYZxyz(52.7983, 61.4612, 24.4080)
Luminance0.6146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D370 #7170D3
analogous
#D3A270 #D2D370 #A0D370
triadic
#D2D370 #70D2D3 #D370D2
tetradic
#D2D370 #70D3A2 #7170D3 #D370A0
square
#D2D370 #70D3A2 #7170D3 #D370A0
split-complementary
#D2D370 #70A0D3 #A270D3
monochromatic
#98992F #C3C541 #D2D370 #E1E19F #EFF0CE

Accessibility & contrast

On white

1.58
#D2D370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#D2D370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D370
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D370#FFFFFF#000000##000000
##D2D3701.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC67
Deuteranopia (green-blind)
#E2CF75
Tritanopia (blue-blind)
#DEC8BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d370;
/* rgb */ color: rgb(210, 211, 112);
/* oklch */ color: oklch(84.5% 0.122 109.3);
Tailwind
colors: {
  custom: {
    50: '#e2e09b',
    500: '#d2d370',
    950: '#000000',
  },
}
SCSS
$custom: #d2d370;
$custom-light: #e2e09b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d370",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 60.606,
    "s": 52.941,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84532,
    "c": 0.12245,
    "h": 109.3
  },
  "luminance": 0.6146
}

Semantic roles & 50–950 ramp

primary
#D2D370
secondary
#4A499E
accent
#25C027
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D370

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

Preview Lab → · Contrast checker → · Palette generator →

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