#D3D254#D3D254

#D3D254 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.147 H 108.8°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D3D254
RGBrgb(211, 210, 84)
HSLhsl(60, 59%, 58%)
HSVhsv(60, 60%, 83%)
CMYKcmyk(0%, 0.5%, 60.2%, 17.3%)
CIE-LABlab(82.15, -15.42, 60.77)
CIE-LCHlch(82.15, 62.70, 104.24°)
OKLaboklab(84.08% -0.0472 0.1389)
OKLCHoklch(84.08% 0.147 108.8)
XYZxyz(51.5124, 60.5836, 17.3661)
Luminance0.6058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D254 #5455D3
analogous
#D39354 #D3D254 #94D354
triadic
#D3D254 #54D3D2 #D254D3
tetradic
#D3D254 #54D393 #5455D3 #D35494
square
#D3D254 #54D393 #5455D3 #D35494
split-complementary
#D3D254 #5494D3 #9354D3
monochromatic
#898823 #BAB930 #D3D254 #E0DF85 #ECECB5

Accessibility & contrast

On white

1.60
#D3D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#D3D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D254
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D254#FFFFFF#000000##000000
##D3D2541.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA45
Deuteranopia (green-blind)
#E4CE5C
Tritanopia (blue-blind)
#E1C6B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d3d254;
/* rgb */ color: rgb(211, 210, 84);
/* oklch */ color: oklch(84.1% 0.147 108.8);
Tailwind
colors: {
  custom: {
    50: '#e3df89',
    500: '#d3d254',
    950: '#000000',
  },
}
SCSS
$custom: #d3d254;
$custom-light: #e3df89;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d254",
  "rgb": {
    "r": 211,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 59.528,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84083,
    "c": 0.14671,
    "h": 108.8
  },
  "luminance": 0.60582
}

Semantic roles & 50–950 ramp

primary
#D3D254
secondary
#3C3C90
accent
#47E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D254

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

Preview Lab → · Contrast checker → · Palette generator →

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