#D3D54E#D3D54E

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

Color values

HEX#D3D54E
RGBrgb(211, 213, 78)
HSLhsl(61, 62%, 57%)
HSVhsv(61, 63%, 84%)
CMYKcmyk(0.9%, 0%, 63.4%, 16.5%)
CIE-LABlab(82.91, -17.29, 64.05)
CIE-LCHlch(82.91, 66.35, 105.11°)
OKLaboklab(84.67% -0.0531 0.145)
OKLCHoklch(84.67% 0.154 110.1)
XYZxyz(52.0350, 61.9888, 16.4302)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D54E #504ED5
analogous
#D5944E #D3D54E #90D54E
triadic
#D3D54E #4ED3D5 #D54ED3
tetradic
#D3D54E #4ED594 #504ED5 #D54E90
square
#D3D54E #4ED594 #504ED5 #D54E90
split-complementary
#D3D54E #4E90D5 #944ED5
monochromatic
#878820 #B8BA2C #D3D54E #DFE17F #ECECB1

Accessibility & contrast

On white

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

On black

13.40
#D3D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D54E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D54E#FFFFFF#000000##000000
##D3D54E1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3d54e;
/* rgb */ color: rgb(211, 213, 78);
/* oklch */ color: oklch(84.7% 0.154 110.1);
Tailwind
colors: {
  custom: {
    50: '#e4e186',
    500: '#d3d54e',
    950: '#000000',
  },
}
SCSS
$custom: #d3d54e;
$custom-light: #e4e186;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d54e",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 60.889,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84669,
    "c": 0.15442,
    "h": 110.1
  },
  "luminance": 0.61987
}

Semantic roles & 50–950 ramp

primary
#D3D54E
secondary
#3A398F
accent
#43E545
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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