#DFCC4F#DFCC4F

#DFCC4F is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.144 H 100.6°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#DFCC4F
RGBrgb(223, 204, 79)
HSLhsl(52, 69%, 59%)
HSVhsv(52, 65%, 87%)
CMYKcmyk(0%, 8.5%, 64.6%, 12.5%)
CIE-LABlab(81.53, -7.73, 62.50)
CIE-LCHlch(81.53, 62.98, 97.05°)
OKLaboklab(83.82% -0.0265 0.1416)
OKLCHoklch(83.82% 0.144 100.6)
XYZxyz(53.4378, 59.4405, 16.0540)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCC4F #4F62DF
analogous
#DF844F #DFCC4F #AADF4F
triadic
#DFCC4F #4FDFCC #CC4FDF
tetradic
#DFCC4F #4FDF84 #4F62DF #DF4FAA
square
#DFCC4F #4FDF84 #4F62DF #DF4FAA
split-complementary
#DFCC4F #4FAADF #844FDF
monochromatic
#98881C #CCB625 #DFCC4F #E8DB83 #F2EAB7

Accessibility & contrast

On white

1.63
#DFCC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#DFCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCC4F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCC4F#FFFFFF#000000##000000
##DFCC4F1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#E4CE56
Tritanopia (blue-blind)
#EFBEB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcc4f;
/* rgb */ color: rgb(223, 204, 79);
/* oklch */ color: oklch(83.8% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#ecdb86',
    500: '#dfcc4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcc4f;
$custom-light: #ecdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcc4f",
  "rgb": {
    "r": 223,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 52.083,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83817,
    "c": 0.14403,
    "h": 100.6
  },
  "luminance": 0.59438
}

Semantic roles & 50–950 ramp

primary
#DFCC4F
secondary
#36449C
accent
#53EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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