#DFCF66#DFCF66

#DFCF66 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.7% C 0.127 H 100.8°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#DFCF66
RGBrgb(223, 207, 102)
HSLhsl(52, 65%, 64%)
HSVhsv(52, 54%, 87%)
CMYKcmyk(0%, 7.2%, 54.3%, 12.5%)
CIE-LABlab(82.53, -7.66, 53.43)
CIE-LCHlch(82.53, 53.97, 98.16°)
OKLaboklab(84.67% -0.0238 0.1251)
OKLCHoklch(84.67% 0.127 100.8)
XYZxyz(55.1444, 61.2750, 21.4903)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF66 #6676DF
analogous
#DF9266 #DFCF66 #B2DF66
triadic
#DFCF66 #66DFCF #CF66DF
tetradic
#DFCF66 #66DF92 #6676DF #DF66B2
square
#DFCF66 #66DF92 #6676DF #DF66B2
split-complementary
#DFCF66 #66B2DF #9266DF
monochromatic
#A89623 #D4BF33 #DFCF66 #EADF99 #F4EFCB

Accessibility & contrast

On white

1.58
#DFCF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#DFCF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF66
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF66#FFFFFF#000000##000000
##DFCF661.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E4D06B
Tritanopia (blue-blind)
#EEC2B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf66;
/* rgb */ color: rgb(223, 207, 102);
/* oklch */ color: oklch(84.7% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#ebdd94',
    500: '#dfcf66',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf66;
$custom-light: #ebdd94;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf66",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 52.066,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84673,
    "c": 0.12735,
    "h": 100.8
  },
  "luminance": 0.61273
}

Semantic roles & 50–950 ramp

primary
#DFCF66
secondary
#3F4DAA
accent
#30CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFCF66

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

Preview Lab → · Contrast checker → · Palette generator →

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