#DFCD5F#DFCD5F

#DFCD5F is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.2% C 0.132 H 100.1°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#DFCD5F
RGBrgb(223, 205, 95)
HSLhsl(52, 67%, 62%)
HSVhsv(52, 57%, 87%)
CMYKcmyk(0%, 8.1%, 57.4%, 12.5%)
CIE-LABlab(81.94, -7.18, 55.97)
CIE-LCHlch(81.94, 56.43, 97.31°)
OKLaboklab(84.18% -0.0232 0.1298)
OKLCHoklch(84.18% 0.132 100.1)
XYZxyz(54.3303, 60.1790, 19.5781)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCD5F #5F71DF
analogous
#DF8D5F #DFCD5F #B1DF5F
triadic
#DFCD5F #5FDFCD #CD5FDF
tetradic
#DFCD5F #5FDF8D #5F71DF #DF5FB1
square
#DFCD5F #5FDF8D #5F71DF #DF5FB1
split-complementary
#DFCD5F #5FB1DF #8D5FDF
monochromatic
#A39121 #D5BD2C #DFCD5F #E9DD92 #F3EDC5

Accessibility & contrast

On white

1.61
#DFCD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#DFCD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCD5F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCD5F#FFFFFF#000000##000000
##DFCD5F1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC854
Deuteranopia (green-blind)
#E3CF64
Tritanopia (blue-blind)
#EFC0B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dfcd5f;
/* rgb */ color: rgb(223, 205, 95);
/* oklch */ color: oklch(84.2% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#ecdc90',
    500: '#dfcd5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcd5f;
$custom-light: #ecdc90;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcd5f",
  "rgb": {
    "r": 223,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 51.563,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84182,
    "c": 0.13186,
    "h": 100.1
  },
  "luminance": 0.60177
}

Semantic roles & 50–950 ramp

primary
#DFCD5F
secondary
#3C4BA6
accent
#31CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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