#DFCA74#DFCA74

#DFCA74 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.8% C 0.109 H 96.0°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#DFCA74
RGBrgb(223, 202, 116)
HSLhsl(48, 63%, 66%)
HSVhsv(48, 48%, 87%)
CMYKcmyk(0%, 9.4%, 48%, 12.5%)
CIE-LABlab(81.40, -3.90, 45.35)
CIE-LCHlch(81.40, 45.52, 94.92°)
OKLaboklab(83.83% -0.0114 0.1087)
OKLCHoklch(83.83% 0.109 96)
XYZxyz(54.7060, 59.1921, 25.0632)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA74 #7489DF
analogous
#DF9574 #DFCA74 #BFDF74
triadic
#DFCA74 #74DFCA #CA74DF
tetradic
#DFCA74 #74DF95 #7489DF #DF74BF
square
#DFCA74 #74DF95 #7489DF #DF74BF
split-complementary
#DFCA74 #74BFDF #9574DF
monochromatic
#B09529 #D4B742 #DFCA74 #EADDA6 #F6F0D7

Accessibility & contrast

On white

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

On black

12.84
#DFCA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA74
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA74#FFFFFF#000000##000000
##DFCA741.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66D
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#EDBEB5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca74;
/* rgb */ color: rgb(223, 202, 116);
/* oklch */ color: oklch(83.8% 0.109 96.0);
Tailwind
colors: {
  custom: {
    50: '#ebd99e',
    500: '#dfca74',
    950: '#000000',
  },
}
SCSS
$custom: #dfca74;
$custom-light: #ebd99e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca74",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 48.224,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83832,
    "c": 0.10925,
    "h": 96
  },
  "luminance": 0.5919
}

Semantic roles & 50–950 ramp

primary
#DFCA74
secondary
#455BB2
accent
#3ECA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFCA74

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

Preview Lab → · Contrast checker → · Palette generator →

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