#D3C451#D3C451

#D3C451 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.136 H 101.9°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D3C451
RGBrgb(211, 196, 81)
HSLhsl(53, 60%, 57%)
HSVhsv(53, 62%, 83%)
CMYKcmyk(0%, 7.1%, 61.6%, 17.3%)
CIE-LABlab(78.42, -8.55, 58.01)
CIE-LCHlch(78.42, 58.63, 98.38°)
OKLaboklab(81.1% -0.0279 0.1326)
OKLCHoklch(81.1% 0.136 101.9)
XYZxyz(48.0909, 53.9247, 15.6583)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C451 #5160D3
analogous
#D38351 #D3C451 #A1D351
triadic
#D3C451 #51D3C4 #C451D3
tetradic
#D3C451 #51D383 #5160D3 #D351A1
square
#D3C451 #51D383 #5160D3 #D351A1
split-complementary
#D3C451 #51A1D3 #8351D3
monochromatic
#877C22 #B8A82F #D3C451 #DFD582 #ECE5B3

Accessibility & contrast

On white

1.78
#D3C451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#D3C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C451
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C451#FFFFFF#000000##000000
##D3C4511.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE44
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#E2B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c451;
/* rgb */ color: rgb(211, 196, 81);
/* oklch */ color: oklch(81.1% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#e3d586',
    500: '#d3c451',
    950: '#000000',
  },
}
SCSS
$custom: #d3c451;
$custom-light: #e3d586;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c451",
  "rgb": {
    "r": 211,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 53.077,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81102,
    "c": 0.13555,
    "h": 101.9
  },
  "luminance": 0.53923
}

Semantic roles & 50–950 ramp

primary
#D3C451
secondary
#3A448E
accent
#57E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C451

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

Preview Lab → · Contrast checker → · Palette generator →

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