#DFCA40#DFCA40

#DFCA40 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.3% C 0.153 H 100.4°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DFCA40
RGBrgb(223, 202, 64)
HSLhsl(52, 71%, 56%)
HSVhsv(52, 71%, 87%)
CMYKcmyk(0%, 9.4%, 71.3%, 12.5%)
CIE-LABlab(80.91, -7.51, 67.75)
CIE-LCHlch(80.91, 68.16, 96.32°)
OKLaboklab(83.29% -0.0275 0.1502)
OKLCHoklch(83.29% 0.153 100.4)
XYZxyz(52.4798, 58.3016, 13.3385)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA40 #4055DF
analogous
#DF7B40 #DFCA40 #A5DF40
triadic
#DFCA40 #40DFCA #CA40DF
tetradic
#DFCA40 #40DF7B #4055DF #DF40A5
square
#DFCA40 #40DF7B #4055DF #DF40A5
split-complementary
#DFCA40 #40A5DF #7B40DF
monochromatic
#8D7D18 #C1AC20 #DFCA40 #E8D974 #F1E7A9

Accessibility & contrast

On white

1.66
#DFCA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#DFCA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA40
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA40#FFFFFF#000000##000000
##DFCA401.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#E3CC49
Tritanopia (blue-blind)
#F0BBAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca40;
/* rgb */ color: rgb(223, 202, 64);
/* oklch */ color: oklch(83.3% 0.153 100.4);
Tailwind
colors: {
  custom: {
    50: '#edd97d',
    500: '#dfca40',
    950: '#000000',
  },
}
SCSS
$custom: #dfca40;
$custom-light: #edd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca40",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 52.075,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83285,
    "c": 0.15266,
    "h": 100.4
  },
  "luminance": 0.58299
}

Semantic roles & 50–950 ramp

primary
#DFCA40
secondary
#313E92
accent
#52EE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DFCA40

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

Preview Lab → · Contrast checker → · Palette generator →

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