#D3D54F#D3D54F

#D3D54F 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#D3D54F
RGBrgb(211, 213, 79)
HSLhsl(61, 61%, 57%)
HSVhsv(61, 63%, 84%)
CMYKcmyk(0.9%, 0%, 62.9%, 16.5%)
CIE-LABlab(82.92, -17.23, 63.66)
CIE-LCHlch(82.92, 65.95, 105.15°)
OKLaboklab(84.68% -0.0528 0.1443)
OKLCHoklch(84.68% 0.154 110.1)
XYZxyz(52.0711, 62.0033, 16.6205)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D54F #514FD5
analogous
#D5944F #D3D54F #90D54F
triadic
#D3D54F #4FD3D5 #D54FD3
tetradic
#D3D54F #4FD594 #514FD5 #D54F90
square
#D3D54F #4FD594 #514FD5 #D54F90
split-complementary
#D3D54F #4F90D5 #944FD5
monochromatic
#878921 #B8BA2C #D3D54F #DFE180 #ECEDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3D54F#FFFFFF#000000##000000
##D3D54F1.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)
#E5CC3E
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#E1C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d3d54f;
/* rgb */ color: rgb(211, 213, 79);
/* oklch */ color: oklch(84.7% 0.154 110.1);
Tailwind
colors: {
  custom: {
    50: '#e4e187',
    500: '#d3d54f',
    950: '#000000',
  },
}
SCSS
$custom: #d3d54f;
$custom-light: #e4e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d54f",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 60.896,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84678,
    "c": 0.15367,
    "h": 110.1
  },
  "luminance": 0.62002
}

Semantic roles & 50–950 ramp

primary
#D3D54F
secondary
#3A398F
accent
#43E546
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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