#D3D54D#D3D54D

#D3D54D is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.7% C 0.155 H 110.1°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D3D54D
RGBrgb(211, 213, 77)
HSLhsl(61, 62%, 57%)
HSVhsv(61, 64%, 84%)
CMYKcmyk(0.9%, 0%, 63.8%, 16.5%)
CIE-LABlab(82.90, -17.36, 64.45)
CIE-LCHlch(82.90, 66.74, 105.07°)
OKLaboklab(84.66% -0.0533 0.1457)
OKLCHoklch(84.66% 0.155 110.1)
XYZxyz(51.9994, 61.9746, 16.2429)
Luminance0.6197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D54D #4F4DD5
analogous
#D5934D #D3D54D #8FD54D
triadic
#D3D54D #4DD3D5 #D54DD3
tetradic
#D3D54D #4DD593 #4F4DD5 #D54D8F
square
#D3D54D #4DD593 #4F4DD5 #D54D8F
split-complementary
#D3D54D #4D8FD5 #934DD5
monochromatic
#868820 #B7B92C #D3D54D #DFE17F #EBECB0

Accessibility & contrast

On white

1.57
#D3D54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#D3D54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D54D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D54D#FFFFFF#000000##000000
##D3D54D1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3B
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#E1C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d3d54d;
/* rgb */ color: rgb(211, 213, 77);
/* oklch */ color: oklch(84.7% 0.155 110.1);
Tailwind
colors: {
  custom: {
    50: '#e4e185',
    500: '#d3d54d',
    950: '#000000',
  },
}
SCSS
$custom: #d3d54d;
$custom-light: #e4e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d54d",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 60.882,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8466,
    "c": 0.15515,
    "h": 110.1
  },
  "luminance": 0.61973
}

Semantic roles & 50–950 ramp

primary
#D3D54D
secondary
#39388E
accent
#43E545
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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