#DFCF50#DFCF50

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

Color values

HEX#DFCF50
RGBrgb(223, 207, 80)
HSLhsl(53, 69%, 59%)
HSVhsv(53, 64%, 87%)
CMYKcmyk(0%, 7.2%, 64.1%, 12.5%)
CIE-LABlab(82.32, -9.19, 62.92)
CIE-LCHlch(82.32, 63.59, 98.31°)
OKLaboklab(84.45% -0.0306 0.1426)
OKLCHoklch(84.45% 0.146 102.1)
XYZxyz(54.1944, 60.8950, 16.4871)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF50 #5060DF
analogous
#DF8850 #DFCF50 #A7DF50
triadic
#DFCF50 #50DFCF #CF50DF
tetradic
#DFCF50 #50DF88 #5060DF #DF50A7
square
#DFCF50 #50DF88 #5060DF #DF50A7
split-complementary
#DFCF50 #50A7DF #8850DF
monochromatic
#998B1C #CCBA25 #DFCF50 #E8DD84 #F2EBB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFCF50#FFFFFF#000000##000000
##DFCF501.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)
#E1C940
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#EFC1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf50;
/* rgb */ color: rgb(223, 207, 80);
/* oklch */ color: oklch(84.4% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#ecdd87',
    500: '#dfcf50',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf50;
$custom-light: #ecdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf50",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 53.287,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84446,
    "c": 0.14585,
    "h": 102.1
  },
  "luminance": 0.60893
}

Semantic roles & 50–950 ramp

primary
#DFCF50
secondary
#37429D
accent
#50EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCF50

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

Preview Lab → · Contrast checker → · Palette generator →

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