#DFCA5F#DFCA5F

#DFCA5F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.6% C 0.129 H 98.3°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#DFCA5F
RGBrgb(223, 202, 95)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 57%, 87%)
CMYKcmyk(0%, 9.4%, 57.4%, 12.5%)
CIE-LABlab(81.16, -5.64, 55.09)
CIE-LCHlch(81.16, 55.38, 95.85°)
OKLaboklab(83.57% -0.0188 0.1279)
OKLCHoklch(83.57% 0.129 98.3)
XYZxyz(53.6195, 58.7575, 19.3412)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA5F #5F74DF
analogous
#DF8A5F #DFCA5F #B4DF5F
triadic
#DFCA5F #5FDFCA #CA5FDF
tetradic
#DFCA5F #5FDF8A #5F74DF #DF5FB4
square
#DFCA5F #5FDF8A #5F74DF #DF5FB4
split-complementary
#DFCA5F #5FB4DF #8A5FDF
monochromatic
#A38E21 #D5B92C #DFCA5F #E9DB92 #F3ECC5

Accessibility & contrast

On white

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

On black

12.75
#DFCA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA5F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA5F#FFFFFF#000000##000000
##DFCA5F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#EFBDB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca5f;
/* rgb */ color: rgb(223, 202, 95);
/* oklch */ color: oklch(83.6% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#ecd990',
    500: '#dfca5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfca5f;
$custom-light: #ecd990;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca5f",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 50.156,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83566,
    "c": 0.12929,
    "h": 98.3
  },
  "luminance": 0.58755
}

Semantic roles & 50–950 ramp

primary
#DFCA5F
secondary
#3C4EA6
accent
#35CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFCA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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