#DFCA71#DFCA71

#DFCA71 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.112 H 96.4°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#DFCA71
RGBrgb(223, 202, 113)
HSLhsl(49, 63%, 66%)
HSVhsv(49, 49%, 87%)
CMYKcmyk(0%, 9.4%, 49.3%, 12.5%)
CIE-LABlab(81.36, -4.18, 46.78)
CIE-LCHlch(81.36, 46.97, 95.10°)
OKLaboklab(83.79% -0.0125 0.1116)
OKLCHoklch(83.79% 0.112 96.4)
XYZxyz(54.5343, 59.1234, 24.1590)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA71 #7186DF
analogous
#DF9371 #DFCA71 #BDDF71
triadic
#DFCA71 #71DFCA #CA71DF
tetradic
#DFCA71 #71DF93 #7186DF #DF71BD
square
#DFCA71 #71DF93 #7186DF #DF71BD
split-complementary
#DFCA71 #71BDDF #9371DF
monochromatic
#AE9527 #D4B73F #DFCA71 #EADDA3 #F6EFD5

Accessibility & contrast

On white

1.64
#DFCA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#DFCA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA71
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA71#FFFFFF#000000##000000
##DFCA711.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC669
Deuteranopia (green-blind)
#E0CD75
Tritanopia (blue-blind)
#EEBEB5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca71;
/* rgb */ color: rgb(223, 202, 113);
/* oklch */ color: oklch(83.8% 0.112 96.4);
Tailwind
colors: {
  custom: {
    50: '#ebd99b',
    500: '#dfca71',
    950: '#000000',
  },
}
SCSS
$custom: #dfca71;
$custom-light: #ebd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca71",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 48.545,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8379,
    "c": 0.11228,
    "h": 96.4
  },
  "luminance": 0.59121
}

Semantic roles & 50–950 ramp

primary
#DFCA71
secondary
#4459B0
accent
#3CCB1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFCA71

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

Preview Lab → · Contrast checker → · Palette generator →

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