#DFCF5F#DFCF5F

#DFCF5F is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.6% C 0.134 H 101.3°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#DFCF5F
RGBrgb(223, 207, 95)
HSLhsl(53, 67%, 62%)
HSVhsv(53, 57%, 87%)
CMYKcmyk(0%, 7.2%, 57.4%, 12.5%)
CIE-LABlab(82.45, -8.19, 56.56)
CIE-LCHlch(82.45, 57.15, 98.24°)
OKLaboklab(84.59% -0.0261 0.1311)
OKLCHoklch(84.59% 0.134 101.3)
XYZxyz(54.8118, 61.1420, 19.7386)
Luminance0.6114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF5F #5F6FDF
analogous
#DF8F5F #DFCF5F #AFDF5F
triadic
#DFCF5F #5FDFCF #CF5FDF
tetradic
#DFCF5F #5FDF8F #5F6FDF #DF5FAF
square
#DFCF5F #5FDF8F #5F6FDF #DF5FAF
split-complementary
#DFCF5F #5FAFDF #8F5FDF
monochromatic
#A39321 #D5C02C #DFCF5F #E9DE92 #F3EEC5

Accessibility & contrast

On white

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

On black

13.23
#DFCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF5F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF5F#FFFFFF#000000##000000
##DFCF5F1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C953
Deuteranopia (green-blind)
#E5D065
Tritanopia (blue-blind)
#EEC2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf5f;
/* rgb */ color: rgb(223, 207, 95);
/* oklch */ color: oklch(84.6% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#ecdd90',
    500: '#dfcf5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf5f;
$custom-light: #ecdd90;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf5f",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 52.5,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84594,
    "c": 0.13365,
    "h": 101.3
  },
  "luminance": 0.6114
}

Semantic roles & 50–950 ramp

primary
#DFCF5F
secondary
#3C4AA6
accent
#2ECF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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