#DFCA54#DFCA54

#DFCA54 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.139 H 99.2°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DFCA54
RGBrgb(223, 202, 84)
HSLhsl(51, 68%, 60%)
HSVhsv(51, 62%, 87%)
CMYKcmyk(0%, 9.4%, 62.3%, 12.5%)
CIE-LABlab(81.06, -6.40, 59.87)
CIE-LCHlch(81.06, 60.21, 96.10°)
OKLaboklab(83.45% -0.0222 0.1367)
OKLCHoklch(83.45% 0.139 99.2)
XYZxyz(53.1544, 58.5715, 16.8913)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA54 #5469DF
analogous
#DF8454 #DFCA54 #AFDF54
triadic
#DFCA54 #54DFCA #CA54DF
tetradic
#DFCA54 #54DF84 #5469DF #DF54AF
square
#DFCA54 #54DF84 #5469DF #DF54AF
split-complementary
#DFCA54 #54AFDF #8454DF
monochromatic
#9C881D #CFB627 #DFCA54 #E9DA88 #F2EABB

Accessibility & contrast

On white

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

On black

12.71
#DFCA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA54
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA54#FFFFFF#000000##000000
##DFCA541.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#EFBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca54;
/* rgb */ color: rgb(223, 202, 84);
/* oklch */ color: oklch(83.5% 0.139 99.2);
Tailwind
colors: {
  custom: {
    50: '#ecd989',
    500: '#dfca54',
    950: '#000000',
  },
}
SCSS
$custom: #dfca54;
$custom-light: #ecd989;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca54",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 50.935,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83451,
    "c": 0.13851,
    "h": 99.2
  },
  "luminance": 0.58569
}

Semantic roles & 50–950 ramp

primary
#DFCA54
secondary
#38489F
accent
#31D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA54

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

Preview Lab → · Contrast checker → · Palette generator →

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