#DFCA5D#DFCA5D

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

Color values

HEX#DFCA5D
RGBrgb(223, 202, 93)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 58%, 87%)
CMYKcmyk(0%, 9.4%, 58.3%, 12.5%)
CIE-LABlab(81.14, -5.79, 55.98)
CIE-LCHlch(81.14, 56.27, 95.90°)
OKLaboklab(83.54% -0.0194 0.1296)
OKLCHoklch(83.54% 0.131 98.5)
XYZxyz(53.5298, 58.7216, 18.8686)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA5D #5D72DF
analogous
#DF895D #DFCA5D #B3DF5D
triadic
#DFCA5D #5DDFCA #CA5DDF
tetradic
#DFCA5D #5DDF89 #5D72DF #DF5DB3
square
#DFCA5D #5DDF89 #5D72DF #DF5DB3
split-complementary
#DFCA5D #5DB3DF #895DDF
monochromatic
#A28D20 #D5B92A #DFCA5D #E9DB90 #F3EBC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFCA5D#FFFFFF#000000##000000
##DFCA5D1.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)
#DBC552
Deuteranopia (green-blind)
#E1CD62
Tritanopia (blue-blind)
#EFBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca5d;
/* rgb */ color: rgb(223, 202, 93);
/* oklch */ color: oklch(83.5% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#ecd98e',
    500: '#dfca5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfca5d;
$custom-light: #ecd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca5d",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 50.308,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83544,
    "c": 0.13104,
    "h": 98.5
  },
  "luminance": 0.58719
}

Semantic roles & 50–950 ramp

primary
#DFCA5D
secondary
#3C4DA5
accent
#34CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFCA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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