#D3C440#D3C440

#D3C440 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.148 H 102.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D3C440
RGBrgb(211, 196, 64)
HSLhsl(54, 63%, 54%)
HSVhsv(54, 70%, 83%)
CMYKcmyk(0%, 7.1%, 69.7%, 17.3%)
CIE-LABlab(78.29, -9.54, 64.82)
CIE-LCHlch(78.29, 65.51, 98.37°)
OKLaboklab(80.96% -0.0326 0.1444)
OKLCHoklch(80.96% 0.148 102.7)
XYZxyz(47.5313, 53.7009, 12.7111)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C440 #404FD3
analogous
#D37B40 #D3C440 #98D340
triadic
#D3C440 #40D3C4 #C440D3
tetradic
#D3C440 #40D37B #404FD3 #D34098
square
#D3C440 #40D37B #404FD3 #D34098
split-complementary
#D3C440 #4098D3 #7B40D3
monochromatic
#7C721D #AEA028 #D3C440 #DED372 #EAE3A3

Accessibility & contrast

On white

1.79
#D3C440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#D3C440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C440
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C440#FFFFFF#000000##000000
##D3C4401.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2C
Deuteranopia (green-blind)
#DAC548
Tritanopia (blue-blind)
#E3B6AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c440;
/* rgb */ color: rgb(211, 196, 64);
/* oklch */ color: oklch(81.0% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#e4d57d',
    500: '#d3c440',
    950: '#000000',
  },
}
SCSS
$custom: #d3c440;
$custom-light: #e4d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c440",
  "rgb": {
    "r": 211,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 53.878,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80956,
    "c": 0.14802,
    "h": 102.7
  },
  "luminance": 0.53699
}

Semantic roles & 50–950 ramp

primary
#D3C440
secondary
#333C84
accent
#53E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C440

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

Preview Lab → · Contrast checker → · Palette generator →

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