#DFCF4E#DFCF4E

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

Color values

HEX#DFCF4E
RGBrgb(223, 207, 78)
HSLhsl(53, 69%, 59%)
HSVhsv(53, 65%, 87%)
CMYKcmyk(0%, 7.2%, 65%, 12.5%)
CIE-LABlab(82.31, -9.31, 63.73)
CIE-LCHlch(82.31, 64.40, 98.31°)
OKLaboklab(84.43% -0.0312 0.144)
OKLCHoklch(84.43% 0.147 102.2)
XYZxyz(54.1216, 60.8659, 16.1037)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF4E #4E5EDF
analogous
#DF874E #DFCF4E #A7DF4E
triadic
#DFCF4E #4EDFCF #CF4EDF
tetradic
#DFCF4E #4EDF87 #4E5EDF #DF4EA7
square
#DFCF4E #4EDF87 #4E5EDF #DF4EA7
split-complementary
#DFCF4E #4EA7DF #874EDF
monochromatic
#978A1B #CBB925 #DFCF4E #E8DD82 #F2EBB6

Accessibility & contrast

On white

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

On black

13.17
#DFCF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF4E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF4E#FFFFFF#000000##000000
##DFCF4E1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcf4e;
/* rgb */ color: rgb(223, 207, 78);
/* oklch */ color: oklch(84.4% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#ecdd86',
    500: '#dfcf4e',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf4e;
$custom-light: #ecdd86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf4e",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 53.379,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84428,
    "c": 0.14733,
    "h": 102.2
  },
  "luminance": 0.60864
}

Semantic roles & 50–950 ramp

primary
#DFCF4E
secondary
#36419B
accent
#4FEC3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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