#DFCC57#DFCC57

#DFCC57 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.138 H 100.1°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#DFCC57
RGBrgb(223, 204, 87)
HSLhsl(52, 68%, 61%)
HSVhsv(52, 61%, 87%)
CMYKcmyk(0%, 8.5%, 61%, 12.5%)
CIE-LABlab(81.60, -7.23, 59.16)
CIE-LCHlch(81.60, 59.60, 96.96°)
OKLaboklab(83.89% -0.0242 0.1356)
OKLCHoklch(83.89% 0.138 100.1)
XYZxyz(53.7467, 59.5641, 17.6809)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCC57 #576ADF
analogous
#DF8857 #DFCC57 #AEDF57
triadic
#DFCC57 #57DFCC #CC57DF
tetradic
#DFCC57 #57DF88 #576ADF #DF57AE
square
#DFCC57 #57DF88 #576ADF #DF57AE
split-complementary
#DFCC57 #57AEDF #8857DF
monochromatic
#9E8C1E #D1B928 #DFCC57 #E9DC8A #F3EBBE

Accessibility & contrast

On white

1.63
#DFCC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#DFCC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCC57
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCC57#FFFFFF#000000##000000
##DFCC571.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#E3CE5D
Tritanopia (blue-blind)
#EFBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcc57;
/* rgb */ color: rgb(223, 204, 87);
/* oklch */ color: oklch(83.9% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#ecdb8b',
    500: '#dfcc57',
    950: '#000000',
  },
}
SCSS
$custom: #dfcc57;
$custom-light: #ecdb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcc57",
  "rgb": {
    "r": 223,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 51.618,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83892,
    "c": 0.13777,
    "h": 100.1
  },
  "luminance": 0.59562
}

Semantic roles & 50–950 ramp

primary
#DFCC57
secondary
#3948A1
accent
#30D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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