#D3C454#D3C454

#D3C454 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.133 H 101.7°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D3C454
RGBrgb(211, 196, 84)
HSLhsl(53, 59%, 58%)
HSVhsv(53, 60%, 83%)
CMYKcmyk(0%, 7.1%, 60.2%, 17.3%)
CIE-LABlab(78.44, -8.35, 56.72)
CIE-LCHlch(78.44, 57.33, 98.37°)
OKLaboklab(81.13% -0.027 0.1303)
OKLCHoklch(81.13% 0.133 101.7)
XYZxyz(48.2059, 53.9707, 16.2639)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C454 #5463D3
analogous
#D38454 #D3C454 #A3D354
triadic
#D3C454 #54D3C4 #C454D3
tetradic
#D3C454 #54D384 #5463D3 #D354A3
square
#D3C454 #54D384 #5463D3 #D354A3
split-complementary
#D3C454 #54A3D3 #8454D3
monochromatic
#897D23 #BAAA30 #D3C454 #E0D585 #ECE6B5

Accessibility & contrast

On white

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

On black

11.79
#D3C454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C454
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C454#FFFFFF#000000##000000
##D3C4541.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE48
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#E2B7AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c454;
/* rgb */ color: rgb(211, 196, 84);
/* oklch */ color: oklch(81.1% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#e3d588',
    500: '#d3c454',
    950: '#000000',
  },
}
SCSS
$custom: #d3c454;
$custom-light: #e3d588;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c454",
  "rgb": {
    "r": 211,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 52.913,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81131,
    "c": 0.13309,
    "h": 101.7
  },
  "luminance": 0.53969
}

Semantic roles & 50–950 ramp

primary
#D3C454
secondary
#3C4690
accent
#58E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C454

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

Preview Lab → · Contrast checker → · Palette generator →

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