#DFC460#DFC460

#DFC460 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.4% C 0.124 H 94.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#DFC460
RGBrgb(223, 196, 96)
HSLhsl(47, 66%, 63%)
HSVhsv(47, 57%, 87%)
CMYKcmyk(0%, 12.1%, 57%, 12.5%)
CIE-LABlab(79.62, -2.48, 52.87)
CIE-LCHlch(79.62, 52.92, 92.69°)
OKLaboklab(82.35% -0.0095 0.1233)
OKLCHoklch(82.35% 0.124 94.4)
XYZxyz(52.2848, 56.0148, 19.1220)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC460 #607BDF
analogous
#DF8460 #DFC460 #BBDF60
triadic
#DFC460 #60DFC4 #C460DF
tetradic
#DFC460 #60DF84 #607BDF #DF60BB
square
#DFC460 #60DF84 #607BDF #DF60BB
split-complementary
#DFC460 #60BBDF #8460DF
monochromatic
#A48821 #D5B12D #DFC460 #E9D793 #F4EAC6

Accessibility & contrast

On white

1.72
#DFC460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#DFC460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC460
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC460#FFFFFF#000000##000000
##DFC4601.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C056
Deuteranopia (green-blind)
#DDC964
Tritanopia (blue-blind)
#EFB7AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc460;
/* rgb */ color: rgb(223, 196, 96);
/* oklch */ color: oklch(82.4% 0.124 94.4);
Tailwind
colors: {
  custom: {
    50: '#ecd590',
    500: '#dfc460',
    950: '#000000',
  },
}
SCSS
$custom: #dfc460;
$custom-light: #ecd590;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc460",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 96
  },
  "hsl": {
    "h": 47.244,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82354,
    "c": 0.12362,
    "h": 94.4
  },
  "luminance": 0.56012
}

Semantic roles & 50–950 ramp

primary
#DFC460
secondary
#3D53A6
accent
#3ECE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC460

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

Preview Lab → · Contrast checker → · Palette generator →

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