#DFCF54#DFCF54

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

Color values

HEX#DFCF54
RGBrgb(223, 207, 84)
HSLhsl(53, 68%, 60%)
HSVhsv(53, 62%, 87%)
CMYKcmyk(0%, 7.2%, 62.3%, 12.5%)
CIE-LABlab(82.36, -8.94, 61.28)
CIE-LCHlch(82.36, 61.93, 98.30°)
OKLaboklab(84.48% -0.0295 0.1397)
OKLCHoklch(84.48% 0.143 101.9)
XYZxyz(54.3466, 60.9559, 17.2888)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF54 #5464DF
analogous
#DF8A54 #DFCF54 #A9DF54
triadic
#DFCF54 #54DFCF #CF54DF
tetradic
#DFCF54 #54DF8A #5464DF #DF54A9
square
#DFCF54 #54DF8A #5464DF #DF54A9
split-complementary
#DFCF54 #54A9DF #8A54DF
monochromatic
#9C8D1D #CFBC27 #DFCF54 #E9DD88 #F2ECBB

Accessibility & contrast

On white

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

On black

13.19
#DFCF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF54
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF54#FFFFFF#000000##000000
##DFCF541.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcf54;
/* rgb */ color: rgb(223, 207, 84);
/* oklch */ color: oklch(84.5% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#ecdd89',
    500: '#dfcf54',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf54;
$custom-light: #ecdd89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf54",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 53.094,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84482,
    "c": 0.14277,
    "h": 101.9
  },
  "luminance": 0.60954
}

Semantic roles & 50–950 ramp

primary
#DFCF54
secondary
#38449F
accent
#2BD015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCF54

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

Preview Lab → · Contrast checker → · Palette generator →

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