#D3C154#D3C154

#D3C154 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.130 H 100.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D3C154
RGBrgb(211, 193, 84)
HSLhsl(51, 59%, 58%)
HSVhsv(51, 60%, 83%)
CMYKcmyk(0%, 8.5%, 60.2%, 17.3%)
CIE-LABlab(77.66, -6.81, 55.85)
CIE-LCHlch(77.66, 56.26, 96.95°)
OKLaboklab(80.51% -0.0226 0.1285)
OKLCHoklch(80.51% 0.13 100)
XYZxyz(47.5360, 52.6309, 16.0406)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C154 #5466D3
analogous
#D38154 #D3C154 #A5D354
triadic
#D3C154 #54D3C1 #C154D3
tetradic
#D3C154 #54D381 #5466D3 #D354A5
square
#D3C154 #54D381 #5466D3 #D354A5
split-complementary
#D3C154 #54A5D3 #8154D3
monochromatic
#897B23 #BAA630 #D3C154 #E0D385 #ECE4B5

Accessibility & contrast

On white

1.82
#D3C154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D3C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C154
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C154#FFFFFF#000000##000000
##D3C1541.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC48
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#E2B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c154;
/* rgb */ color: rgb(211, 193, 84);
/* oklch */ color: oklch(80.5% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#e3d388',
    500: '#d3c154',
    950: '#000000',
  },
}
SCSS
$custom: #d3c154;
$custom-light: #e3d388;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c154",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 51.496,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80506,
    "c": 0.13044,
    "h": 100
  },
  "luminance": 0.52629
}

Semantic roles & 50–950 ramp

primary
#D3C154
secondary
#3C4790
accent
#5CE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C154

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

Preview Lab → · Contrast checker → · Palette generator →

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