#D6D255#D6D255

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

Color values

HEX#D6D255
RGBrgb(214, 210, 85)
HSLhsl(58, 61%, 59%)
HSVhsv(58, 60%, 84%)
CMYKcmyk(0%, 1.9%, 60.3%, 16.1%)
CIE-LABlab(82.40, -14.12, 60.69)
CIE-LCHlch(82.40, 62.31, 103.10°)
OKLaboklab(84.34% -0.0435 0.1388)
OKLCHoklch(84.34% 0.145 107.4)
XYZxyz(52.4195, 61.0468, 17.6145)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D255 #5559D6
analogous
#D69155 #D6D255 #99D655
triadic
#D6D255 #55D6D2 #D255D6
tetradic
#D6D255 #55D691 #5559D6 #D65599
square
#D6D255 #55D691 #5559D6 #D65599
split-complementary
#D6D255 #5599D6 #9155D6
monochromatic
#8E8B22 #C0BB2E #D6D255 #E2DF86 #EEECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6D255#FFFFFF#000000##000000
##D6D2551.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)
#E2CA46
Deuteranopia (green-blind)
#E5CF5C
Tritanopia (blue-blind)
#E4C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d6d255;
/* rgb */ color: rgb(214, 210, 85);
/* oklch */ color: oklch(84.3% 0.145 107.4);
Tailwind
colors: {
  custom: {
    50: '#e5df8a',
    500: '#d6d255',
    950: '#000000',
  },
}
SCSS
$custom: #d6d255;
$custom-light: #e5df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d255",
  "rgb": {
    "r": 214,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 58.14,
    "s": 61.137,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84344,
    "c": 0.14547,
    "h": 107.4
  },
  "luminance": 0.61045
}

Semantic roles & 50–950 ramp

primary
#D6D255
secondary
#3B3E94
accent
#49E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D6D255

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

Preview Lab → · Contrast checker → · Palette generator →

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