#DFCC5D#DFCC5D

#DFCC5D is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.133 H 99.7°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#DFCC5D
RGBrgb(223, 204, 93)
HSLhsl(51, 67%, 62%)
HSVhsv(51, 58%, 87%)
CMYKcmyk(0%, 8.5%, 58.3%, 12.5%)
CIE-LABlab(81.66, -6.81, 56.56)
CIE-LCHlch(81.66, 56.97, 96.87°)
OKLaboklab(83.95% -0.0223 0.1308)
OKLCHoklch(83.95% 0.133 99.7)
XYZxyz(54.0021, 59.6662, 19.0260)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCC5D #5D70DF
analogous
#DF8B5D #DFCC5D #B1DF5D
triadic
#DFCC5D #5DDFCC #CC5DDF
tetradic
#DFCC5D #5DDF8B #5D70DF #DF5DB1
square
#DFCC5D #5DDF8B #5D70DF #DF5DB1
split-complementary
#DFCC5D #5DB1DF #8B5DDF
monochromatic
#A28F20 #D5BC2A #DFCC5D #E9DC90 #F3ECC3

Accessibility & contrast

On white

1.62
#DFCC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#DFCC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCC5D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCC5D#FFFFFF#000000##000000
##DFCC5D1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC751
Deuteranopia (green-blind)
#E3CE62
Tritanopia (blue-blind)
#EFBFB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcc5d;
/* rgb */ color: rgb(223, 204, 93);
/* oklch */ color: oklch(84.0% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#ecdb8f',
    500: '#dfcc5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfcc5d;
$custom-light: #ecdb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcc5d",
  "rgb": {
    "r": 223,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 51.231,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83954,
    "c": 0.13274,
    "h": 99.7
  },
  "luminance": 0.59664
}

Semantic roles & 50–950 ramp

primary
#DFCC5D
secondary
#3C4BA5
accent
#32CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFCC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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