#D2D246#D2D246

#D2D246 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.157 H 109.4°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D2D246
RGBrgb(210, 210, 70)
HSLhsl(60, 61%, 55%)
HSVhsv(60, 67%, 82%)
CMYKcmyk(0%, 0%, 66.7%, 17.6%)
CIE-LABlab(81.97, -16.69, 66.20)
CIE-LCHlch(81.97, 68.27, 104.15°)
OKLaboklab(83.88% -0.0521 0.1483)
OKLCHoklch(83.88% 0.157 109.4)
XYZxyz(50.7321, 60.2385, 14.7480)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D246 #4646D2
analogous
#D28C46 #D2D246 #8CD246
triadic
#D2D246 #46D2D2 #D246D2
tetradic
#D2D246 #46D28C #4646D2 #D2468C
square
#D2D246 #46D28C #4646D2 #D2468C
split-complementary
#D2D246 #468CD2 #8C46D2
monochromatic
#7F7F1F #B0B02B #D2D246 #DEDE77 #EAEAA8

Accessibility & contrast

On white

1.61
#D2D246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#D2D246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D246
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D246#FFFFFF#000000##000000
##D2D2461.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C931
Deuteranopia (green-blind)
#E4CE50
Tritanopia (blue-blind)
#E0C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d246;
/* rgb */ color: rgb(210, 210, 70);
/* oklch */ color: oklch(83.9% 0.157 109.4);
Tailwind
colors: {
  custom: {
    50: '#e3df81',
    500: '#d2d246',
    950: '#000000',
  },
}
SCSS
$custom: #d2d246;
$custom-light: #e3df81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d246",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83881,
    "c": 0.15721,
    "h": 109.4
  },
  "luminance": 0.60237
}

Semantic roles & 50–950 ramp

primary
#D2D246
secondary
#363686
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D246

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

Preview Lab → · Contrast checker → · Palette generator →

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