#D3C155#D3C155

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

Color values

HEX#D3C155
RGBrgb(211, 193, 85)
HSLhsl(51, 59%, 58%)
HSVhsv(51, 60%, 83%)
CMYKcmyk(0%, 8.5%, 59.7%, 17.3%)
CIE-LABlab(77.67, -6.74, 55.41)
CIE-LCHlch(77.67, 55.82, 96.93°)
OKLaboklab(80.52% -0.0223 0.1277)
OKLCHoklch(80.52% 0.13 99.9)
XYZxyz(47.5755, 52.6467, 16.2484)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C155 #5567D3
analogous
#D38255 #D3C155 #A6D355
triadic
#D3C155 #55D3C1 #C155D3
tetradic
#D3C155 #55D382 #5567D3 #D355A6
square
#D3C155 #55D382 #5567D3 #D355A6
split-complementary
#D3C155 #55A6D3 #8255D3
monochromatic
#8A7B24 #BBA730 #D3C155 #E0D386 #ECE4B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C155#FFFFFF#000000##000000
##D3C1551.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)
#D2BC49
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#E2B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c155;
/* rgb */ color: rgb(211, 193, 85);
/* oklch */ color: oklch(80.5% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#e3d389',
    500: '#d3c155',
    950: '#000000',
  },
}
SCSS
$custom: #d3c155;
$custom-light: #e3d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c155",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 51.429,
    "s": 58.879,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80517,
    "c": 0.12959,
    "h": 99.9
  },
  "luminance": 0.52645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C155

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

Preview Lab → · Contrast checker → · Palette generator →

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