#DFCA5C#DFCA5C

#DFCA5C is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.132 H 98.6°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#DFCA5C
RGBrgb(223, 202, 92)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.4%, 58.7%, 12.5%)
CIE-LABlab(81.13, -5.86, 56.42)
CIE-LCHlch(81.13, 56.72, 95.93°)
OKLaboklab(83.53% -0.0197 0.1304)
OKLCHoklch(83.53% 0.132 98.6)
XYZxyz(53.4858, 58.7040, 18.6368)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA5C #5C71DF
analogous
#DF895C #DFCA5C #B2DF5C
triadic
#DFCA5C #5CDFCA #CA5CDF
tetradic
#DFCA5C #5CDF89 #5C71DF #DF5CB2
square
#DFCA5C #5CDF89 #5C71DF #DF5CB2
split-complementary
#DFCA5C #5CB2DF #895CDF
monochromatic
#A18C20 #D4B92A #DFCA5C #E9DB8F #F3EBC2

Accessibility & contrast

On white

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

On black

12.74
#DFCA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA5C
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA5C#FFFFFF#000000##000000
##DFCA5C1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC551
Deuteranopia (green-blind)
#E1CD61
Tritanopia (blue-blind)
#EFBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca5c;
/* rgb */ color: rgb(223, 202, 92);
/* oklch */ color: oklch(83.5% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#ecd98e',
    500: '#dfca5c',
    950: '#000000',
  },
}
SCSS
$custom: #dfca5c;
$custom-light: #ecd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca5c",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 50.382,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83533,
    "c": 0.13189,
    "h": 98.6
  },
  "luminance": 0.58702
}

Semantic roles & 50–950 ramp

primary
#DFCA5C
secondary
#3B4CA4
accent
#34CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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