#DFCF71#DFCF71

#DFCF71 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 84.8% C 0.117 H 99.8°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#DFCF71
RGBrgb(223, 207, 113)
HSLhsl(51, 63%, 66%)
HSVhsv(51, 49%, 87%)
CMYKcmyk(0%, 7.2%, 49.3%, 12.5%)
CIE-LABlab(82.65, -6.74, 48.35)
CIE-LCHlch(82.65, 48.82, 97.93°)
OKLaboklab(84.81% -0.0199 0.115)
OKLCHoklch(84.81% 0.117 99.8)
XYZxyz(55.7265, 61.5079, 24.5564)
Luminance0.6151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF71 #7181DF
analogous
#DF9871 #DFCF71 #B8DF71
triadic
#DFCF71 #71DFCF #CF71DF
tetradic
#DFCF71 #71DF98 #7181DF #DF71B8
square
#DFCF71 #71DF98 #7181DF #DF71B8
split-complementary
#DFCF71 #71B8DF #9871DF
monochromatic
#AE9B27 #D4BE3F #DFCF71 #EAE0A3 #F6F1D5

Accessibility & contrast

On white

1.58
#DFCF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#DFCF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF71
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF71#FFFFFF#000000##000000
##DFCF711.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA69
Deuteranopia (green-blind)
#E3D075
Tritanopia (blue-blind)
#EDC3B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfcf71;
/* rgb */ color: rgb(223, 207, 113);
/* oklch */ color: oklch(84.8% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#ebdd9c',
    500: '#dfcf71',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf71;
$custom-light: #ebdd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf71",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 51.273,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84813,
    "c": 0.11675,
    "h": 99.8
  },
  "luminance": 0.61506
}

Semantic roles & 50–950 ramp

primary
#DFCF71
secondary
#4454B0
accent
#34CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFCF71

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

Preview Lab → · Contrast checker → · Palette generator →

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