#D6D248#D6D248

#D6D248 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.155 H 107.7°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D6D248
RGBrgb(214, 210, 72)
HSLhsl(58, 63%, 56%)
HSVhsv(58, 66%, 84%)
CMYKcmyk(0%, 1.9%, 66.4%, 16.1%)
CIE-LABlab(82.30, -14.91, 65.87)
CIE-LCHlch(82.30, 67.54, 102.76°)
OKLaboklab(84.23% -0.0471 0.1479)
OKLCHoklch(84.23% 0.155 107.7)
XYZxyz(51.9497, 60.8589, 15.1401)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D248 #484CD6
analogous
#D68B48 #D6D248 #93D648
triadic
#D6D248 #48D6D2 #D248D6
tetradic
#D6D248 #48D68B #484CD6 #D64893
square
#D6D248 #48D68B #484CD6 #D64893
split-complementary
#D6D248 #4893D6 #8B48D6
monochromatic
#86831E #B8B429 #D6D248 #E1DE7A #ECEBAC

Accessibility & contrast

On white

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

On black

13.17
#D6D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D248
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D248#FFFFFF#000000##000000
##D6D2481.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E5CF51
Tritanopia (blue-blind)
#E5C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d6d248;
/* rgb */ color: rgb(214, 210, 72);
/* oklch */ color: oklch(84.2% 0.155 107.7);
Tailwind
colors: {
  custom: {
    50: '#e6df82',
    500: '#d6d248',
    950: '#000000',
  },
}
SCSS
$custom: #d6d248;
$custom-light: #e6df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d248",
  "rgb": {
    "r": 214,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 58.31,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84231,
    "c": 0.15518,
    "h": 107.7
  },
  "luminance": 0.60857
}

Semantic roles & 50–950 ramp

primary
#D6D248
secondary
#36388C
accent
#46E641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D248

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

Preview Lab → · Contrast checker → · Palette generator →

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