#DFCC51#DFCC51

#DFCC51 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.143 H 100.5°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#DFCC51
RGBrgb(223, 204, 81)
HSLhsl(52, 69%, 60%)
HSVhsv(52, 64%, 87%)
CMYKcmyk(0%, 8.5%, 63.7%, 12.5%)
CIE-LABlab(81.55, -7.61, 61.68)
CIE-LCHlch(81.55, 62.15, 97.03°)
OKLaboklab(83.84% -0.026 0.1401)
OKLCHoklch(83.84% 0.143 100.5)
XYZxyz(53.5117, 59.4701, 16.4432)
Luminance0.5947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCC51 #5164DF
analogous
#DF8551 #DFCC51 #ABDF51
triadic
#DFCC51 #51DFCC #CC51DF
tetradic
#DFCC51 #51DF85 #5164DF #DF51AB
square
#DFCC51 #51DF85 #5164DF #DF51AB
split-complementary
#DFCC51 #51ABDF #8551DF
monochromatic
#99891C #CDB726 #DFCC51 #E9DB85 #F2EAB8

Accessibility & contrast

On white

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

On black

12.89
#DFCC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCC51
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCC51#FFFFFF#000000##000000
##DFCC511.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#E3CE58
Tritanopia (blue-blind)
#EFBEB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcc51;
/* rgb */ color: rgb(223, 204, 81);
/* oklch */ color: oklch(83.8% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#ecdb87',
    500: '#dfcc51',
    950: '#000000',
  },
}
SCSS
$custom: #dfcc51;
$custom-light: #ecdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcc51",
  "rgb": {
    "r": 223,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 51.972,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83835,
    "c": 0.14252,
    "h": 100.5
  },
  "luminance": 0.59468
}

Semantic roles & 50–950 ramp

primary
#DFCC51
secondary
#37459D
accent
#54EC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCC51

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

Preview Lab → · Contrast checker → · Palette generator →

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