#DFCF4F#DFCF4F

#DFCF4F 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.18:1 contrast (WCAG AA passes).

Color values

HEX#DFCF4F
RGBrgb(223, 207, 79)
HSLhsl(53, 69%, 59%)
HSVhsv(53, 65%, 87%)
CMYKcmyk(0%, 7.2%, 64.6%, 12.5%)
CIE-LABlab(82.31, -9.25, 63.33)
CIE-LCHlch(82.31, 64.00, 98.31°)
OKLaboklab(84.44% -0.0309 0.1433)
OKLCHoklch(84.44% 0.147 102.2)
XYZxyz(54.1577, 60.8803, 16.2940)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF4F #4F5FDF
analogous
#DF874F #DFCF4F #A7DF4F
triadic
#DFCF4F #4FDFCF #CF4FDF
tetradic
#DFCF4F #4FDF87 #4F5FDF #DF4FA7
square
#DFCF4F #4FDF87 #4F5FDF #DF4FA7
split-complementary
#DFCF4F #4FA7DF #874FDF
monochromatic
#988A1C #CCB925 #DFCF4F #E8DD83 #F2EBB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFCF4F#FFFFFF#000000##000000
##DFCF4F1.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)
#E1C93F
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#EFC1B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf4f;
/* rgb */ color: rgb(223, 207, 79);
/* oklch */ color: oklch(84.4% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#ecdd86',
    500: '#dfcf4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf4f;
$custom-light: #ecdd86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf4f",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 53.333,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84437,
    "c": 0.14659,
    "h": 102.2
  },
  "luminance": 0.60878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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