#DFCF52#DFCF52

#DFCF52 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.5% C 0.144 H 102.0°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#DFCF52
RGBrgb(223, 207, 82)
HSLhsl(53, 69%, 60%)
HSVhsv(53, 63%, 87%)
CMYKcmyk(0%, 7.2%, 63.2%, 12.5%)
CIE-LABlab(82.34, -9.07, 62.10)
CIE-LCHlch(82.34, 62.76, 98.31°)
OKLaboklab(84.46% -0.03 0.1412)
OKLCHoklch(84.46% 0.144 102)
XYZxyz(54.2694, 60.9250, 16.8821)
Luminance0.6092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF52 #5262DF
analogous
#DF8852 #DFCF52 #A9DF52
triadic
#DFCF52 #52DFCF #CF52DF
tetradic
#DFCF52 #52DF88 #5262DF #DF52A9
square
#DFCF52 #52DF88 #5262DF #DF52A9
split-complementary
#DFCF52 #52A9DF #8852DF
monochromatic
#9A8C1D #CEBB26 #DFCF52 #E9DD86 #F2ECB9

Accessibility & contrast

On white

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

On black

13.18
#DFCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF52
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF52#FFFFFF#000000##000000
##DFCF521.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#EFC1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf52;
/* rgb */ color: rgb(223, 207, 82);
/* oklch */ color: oklch(84.5% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#ecdd88',
    500: '#dfcf52',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf52;
$custom-light: #ecdd88;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf52",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 53.191,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84464,
    "c": 0.14433,
    "h": 102
  },
  "luminance": 0.60923
}

Semantic roles & 50–950 ramp

primary
#DFCF52
secondary
#37439E
accent
#50EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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