#DFCF5C#DFCF5C

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

Color values

HEX#DFCF5C
RGBrgb(223, 207, 92)
HSLhsl(53, 67%, 62%)
HSVhsv(53, 59%, 87%)
CMYKcmyk(0%, 7.2%, 58.7%, 12.5%)
CIE-LABlab(82.43, -8.41, 57.87)
CIE-LCHlch(82.43, 58.48, 98.27°)
OKLaboklab(84.56% -0.027 0.1335)
OKLCHoklch(84.56% 0.136 101.4)
XYZxyz(54.6780, 61.0885, 19.0342)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF5C #5C6CDF
analogous
#DF8E5C #DFCF5C #ADDF5C
triadic
#DFCF5C #5CDFCF #CF5CDF
tetradic
#DFCF5C #5CDF8E #5C6CDF #DF5CAD
square
#DFCF5C #5CDF8E #5C6CDF #DF5CAD
split-complementary
#DFCF5C #5CADDF #8E5CDF
monochromatic
#A19120 #D4BF2A #DFCF5C #E9DE8F #F3EDC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFCF5C#FFFFFF#000000##000000
##DFCF5C1.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)
#E0C950
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#EFC2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf5c;
/* rgb */ color: rgb(223, 207, 92);
/* oklch */ color: oklch(84.6% 0.136 101.4);
Tailwind
colors: {
  custom: {
    50: '#ecdd8e',
    500: '#dfcf5c',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf5c;
$custom-light: #ecdd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf5c",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 52.672,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84562,
    "c": 0.13623,
    "h": 101.4
  },
  "luminance": 0.61086
}

Semantic roles & 50–950 ramp

primary
#DFCF5C
secondary
#3B48A4
accent
#2DCF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFCF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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