#D3CC57#D3CC57

#D3CC57 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.138 H 105.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D3CC57
RGBrgb(211, 204, 87)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 59%, 83%)
CMYKcmyk(0%, 3.3%, 58.8%, 17.3%)
CIE-LABlab(80.59, -12.21, 57.76)
CIE-LCHlch(80.59, 59.03, 101.93°)
OKLaboklab(82.84% -0.0377 0.1329)
OKLCHoklch(82.84% 0.138 105.8)
XYZxyz(50.1788, 57.7244, 17.5137)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC57 #575ED3
analogous
#D38E57 #D3CC57 #9CD357
triadic
#D3CC57 #57D3CC #CC57D3
tetradic
#D3CC57 #57D38E #575ED3 #D3579C
square
#D3CC57 #57D38E #575ED3 #D3579C
split-complementary
#D3CC57 #579CD3 #8E57D3
monochromatic
#8B8524 #BCB431 #D3CC57 #E0DB87 #ECE9B8

Accessibility & contrast

On white

1.67
#D3CC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D3CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC57
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC57#FFFFFF#000000##000000
##D3CC571.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#E1C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc57;
/* rgb */ color: rgb(211, 204, 87);
/* oklch */ color: oklch(82.8% 0.138 105.8);
Tailwind
colors: {
  custom: {
    50: '#e3db8b',
    500: '#d3cc57',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc57;
$custom-light: #e3db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc57",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 56.613,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82842,
    "c": 0.13816,
    "h": 105.8
  },
  "luminance": 0.57723
}

Semantic roles & 50–950 ramp

primary
#D3CC57
secondary
#3D4291
accent
#4FE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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