#DFCF62#DFCF62

#DFCF62 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.131 H 101.1°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#DFCF62
RGBrgb(223, 207, 98)
HSLhsl(52, 66%, 63%)
HSVhsv(52, 56%, 87%)
CMYKcmyk(0%, 7.2%, 56.1%, 12.5%)
CIE-LABlab(82.48, -7.97, 55.23)
CIE-LCHlch(82.48, 55.80, 98.21°)
OKLaboklab(84.63% -0.0251 0.1286)
OKLCHoklch(84.63% 0.131 101.1)
XYZxyz(54.9508, 61.1976, 20.4707)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF62 #6272DF
analogous
#DF9062 #DFCF62 #B0DF62
triadic
#DFCF62 #62DFCF #CF62DF
tetradic
#DFCF62 #62DF90 #6272DF #DF62B0
square
#DFCF62 #62DF90 #6272DF #DF62B0
split-complementary
#DFCF62 #62B0DF #9062DF
monochromatic
#A59422 #D5BF2F #DFCF62 #E9DF95 #F4EEC8

Accessibility & contrast

On white

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

On black

13.24
#DFCF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF62
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF62#FFFFFF#000000##000000
##DFCF621.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcf62;
/* rgb */ color: rgb(223, 207, 98);
/* oklch */ color: oklch(84.6% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#ecdd92',
    500: '#dfcf62',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf62;
$custom-light: #ecdd92;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf62",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 52.32,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84627,
    "c": 0.13099,
    "h": 101.1
  },
  "luminance": 0.61195
}

Semantic roles & 50–950 ramp

primary
#DFCF62
secondary
#3E4BA8
accent
#2FCE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFCF62

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

Preview Lab → · Contrast checker → · Palette generator →

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