#DFCF5D#DFCF5D

#DFCF5D is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.6% C 0.135 H 101.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#DFCF5D
RGBrgb(223, 207, 93)
HSLhsl(53, 67%, 62%)
HSVhsv(53, 58%, 87%)
CMYKcmyk(0%, 7.2%, 58.3%, 12.5%)
CIE-LABlab(82.44, -8.34, 57.44)
CIE-LCHlch(82.44, 58.04, 98.26°)
OKLaboklab(84.57% -0.0267 0.1327)
OKLCHoklch(84.57% 0.135 101.4)
XYZxyz(54.7220, 61.1061, 19.2660)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF5D #5D6DDF
analogous
#DF8E5D #DFCF5D #AEDF5D
triadic
#DFCF5D #5DDFCF #CF5DDF
tetradic
#DFCF5D #5DDF8E #5D6DDF #DF5DAE
square
#DFCF5D #5DDF8E #5D6DDF #DF5DAE
split-complementary
#DFCF5D #5DAEDF #8E5DDF
monochromatic
#A29220 #D5C02A #DFCF5D #E9DE90 #F3EDC3

Accessibility & contrast

On white

1.59
#DFCF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#DFCF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF5D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF5D#FFFFFF#000000##000000
##DFCF5D1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C951
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#EEC2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf5d;
/* rgb */ color: rgb(223, 207, 93);
/* oklch */ color: oklch(84.6% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#ecdd8f',
    500: '#dfcf5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf5d;
$custom-light: #ecdd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf5d",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 52.615,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84572,
    "c": 0.13537,
    "h": 101.4
  },
  "luminance": 0.61104
}

Semantic roles & 50–950 ramp

primary
#DFCF5D
secondary
#3C48A5
accent
#2DCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFCF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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