#DFCF57#DFCF57

#DFCF57 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.5% C 0.140 H 101.7°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#DFCF57
RGBrgb(223, 207, 87)
HSLhsl(53, 68%, 61%)
HSVhsv(53, 61%, 87%)
CMYKcmyk(0%, 7.2%, 61%, 12.5%)
CIE-LABlab(82.38, -8.75, 60.02)
CIE-LCHlch(82.38, 60.65, 98.30°)
OKLaboklab(84.51% -0.0286 0.1374)
OKLCHoklch(84.51% 0.14 101.7)
XYZxyz(54.4666, 61.0039, 17.9209)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF57 #5767DF
analogous
#DF8B57 #DFCF57 #ABDF57
triadic
#DFCF57 #57DFCF #CF57DF
tetradic
#DFCF57 #57DF8B #5767DF #DF57AB
square
#DFCF57 #57DF8B #5767DF #DF57AB
split-complementary
#DFCF57 #57ABDF #8B57DF
monochromatic
#9E8F1E #D1BD28 #DFCF57 #E9DE8A #F3ECBE

Accessibility & contrast

On white

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

On black

13.20
#DFCF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF57
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF57#FFFFFF#000000##000000
##DFCF571.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C949
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#EFC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf57;
/* rgb */ color: rgb(223, 207, 87);
/* oklch */ color: oklch(84.5% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#ecdd8b',
    500: '#dfcf57',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf57;
$custom-light: #ecdd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf57",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 52.941,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84511,
    "c": 0.14038,
    "h": 101.7
  },
  "luminance": 0.61002
}

Semantic roles & 50–950 ramp

primary
#DFCF57
secondary
#3945A1
accent
#2BD016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCF57

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

Preview Lab → · Contrast checker → · Palette generator →

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