#DFCF48#DFCF48

#DFCF48 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.4% C 0.152 H 102.5°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#DFCF48
RGBrgb(223, 207, 72)
HSLhsl(54, 70%, 58%)
HSVhsv(54, 68%, 87%)
CMYKcmyk(0%, 7.2%, 67.7%, 12.5%)
CIE-LABlab(82.26, -9.64, 66.07)
CIE-LCHlch(82.26, 66.77, 98.30°)
OKLaboklab(84.38% -0.0328 0.148)
OKLCHoklch(84.38% 0.152 102.5)
XYZxyz(53.9162, 60.7837, 15.0221)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF48 #4858DF
analogous
#DF8348 #DFCF48 #A4DF48
triadic
#DFCF48 #48DFCF #CF48DF
tetradic
#DFCF48 #48DF83 #4858DF #DF48A4
square
#DFCF48 #48DF83 #4858DF #DF48A4
split-complementary
#DFCF48 #48A4DF #8348DF
monochromatic
#93861A #C7B623 #DFCF48 #E8DD7C #F1EAB0

Accessibility & contrast

On white

1.60
#DFCF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#DFCF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF48
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF48#FFFFFF#000000##000000
##DFCF481.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C935
Deuteranopia (green-blind)
#E6D050
Tritanopia (blue-blind)
#EFC1B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf48;
/* rgb */ color: rgb(223, 207, 72);
/* oklch */ color: oklch(84.4% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#eddd82',
    500: '#dfcf48',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf48;
$custom-light: #eddd82;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf48",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 53.642,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84379,
    "c": 0.15158,
    "h": 102.5
  },
  "luminance": 0.60782
}

Semantic roles & 50–950 ramp

primary
#DFCF48
secondary
#343E98
accent
#4EED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DFCF48

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

Preview Lab → · Contrast checker → · Palette generator →

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