#D3C858#D3C858

#D3C858 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.133 H 103.7°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D3C858
RGBrgb(211, 200, 88)
HSLhsl(55, 58%, 59%)
HSVhsv(55, 58%, 83%)
CMYKcmyk(0%, 5.2%, 58.3%, 17.3%)
CIE-LABlab(79.54, -10.11, 56.15)
CIE-LCHlch(79.54, 57.05, 100.21°)
OKLaboklab(82.01% -0.0316 0.1296)
OKLCHoklch(82.01% 0.133 103.7)
XYZxyz(49.2814, 55.8638, 17.4175)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C858 #5863D3
analogous
#D38A58 #D3C858 #A0D358
triadic
#D3C858 #58D3C8 #C858D3
tetradic
#D3C858 #58D38A #5863D3 #D358A0
square
#D3C858 #58D38A #5863D3 #D358A0
split-complementary
#D3C858 #58A0D3 #8A58D3
monochromatic
#8C8325 #BCB032 #D3C858 #E0D888 #EDE8B9

Accessibility & contrast

On white

1.73
#D3C858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#D3C858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C858
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C858#FFFFFF#000000##000000
##D3C8581.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#E1BCB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c858;
/* rgb */ color: rgb(211, 200, 88);
/* oklch */ color: oklch(82.0% 0.133 103.7);
Tailwind
colors: {
  custom: {
    50: '#e3d88b',
    500: '#d3c858',
    950: '#000000',
  },
}
SCSS
$custom: #d3c858;
$custom-light: #e3d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c858",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 54.634,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8201,
    "c": 0.13341,
    "h": 103.7
  },
  "luminance": 0.55862
}

Semantic roles & 50–950 ramp

primary
#D3C858
secondary
#3D4592
accent
#54E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C858

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

Preview Lab → · Contrast checker → · Palette generator →

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