#DFCA51#DFCA51

#DFCA51 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.141 H 99.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#DFCA51
RGBrgb(223, 202, 81)
HSLhsl(51, 69%, 60%)
HSVhsv(51, 64%, 87%)
CMYKcmyk(0%, 9.4%, 63.7%, 12.5%)
CIE-LABlab(81.03, -6.59, 61.13)
CIE-LCHlch(81.03, 61.48, 96.15°)
OKLaboklab(83.42% -0.0231 0.139)
OKLCHoklch(83.42% 0.141 99.4)
XYZxyz(53.0394, 58.5255, 16.2857)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA51 #5166DF
analogous
#DF8351 #DFCA51 #ADDF51
triadic
#DFCA51 #51DFCA #CA51DF
tetradic
#DFCA51 #51DF83 #5166DF #DF51AD
square
#DFCA51 #51DF83 #5166DF #DF51AD
split-complementary
#DFCA51 #51ADDF #8351DF
monochromatic
#99871C #CDB426 #DFCA51 #E9DA85 #F2E9B8

Accessibility & contrast

On white

1.65
#DFCA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#DFCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA51
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA51#FFFFFF#000000##000000
##DFCA511.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#EFBCB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca51;
/* rgb */ color: rgb(223, 202, 81);
/* oklch */ color: oklch(83.4% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#ecd987',
    500: '#dfca51',
    950: '#000000',
  },
}
SCSS
$custom: #dfca51;
$custom-light: #ecd987;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca51",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 51.127,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83423,
    "c": 0.14085,
    "h": 99.4
  },
  "luminance": 0.58523
}

Semantic roles & 50–950 ramp

primary
#DFCA51
secondary
#37469D
accent
#56EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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