#DFCF51#DFCF51

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

Color values

HEX#DFCF51
RGBrgb(223, 207, 81)
HSLhsl(53, 69%, 60%)
HSVhsv(53, 64%, 87%)
CMYKcmyk(0%, 7.2%, 63.7%, 12.5%)
CIE-LABlab(82.33, -9.13, 62.51)
CIE-LCHlch(82.33, 63.18, 98.31°)
OKLaboklab(84.46% -0.0303 0.1419)
OKLCHoklch(84.46% 0.145 102.1)
XYZxyz(54.2316, 60.9099, 16.6831)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF51 #5161DF
analogous
#DF8851 #DFCF51 #A8DF51
triadic
#DFCF51 #51DFCF #CF51DF
tetradic
#DFCF51 #51DF88 #5161DF #DF51A8
square
#DFCF51 #51DF88 #5161DF #DF51A8
split-complementary
#DFCF51 #51A8DF #8851DF
monochromatic
#998B1C #CDBA26 #DFCF51 #E9DD85 #F2ECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFCF51#FFFFFF#000000##000000
##DFCF511.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)
#E1C942
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#EFC1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf51;
/* rgb */ color: rgb(223, 207, 81);
/* oklch */ color: oklch(84.5% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#ecdd87',
    500: '#dfcf51',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf51;
$custom-light: #ecdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf51",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 53.239,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84455,
    "c": 0.1451,
    "h": 102.1
  },
  "luminance": 0.60908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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