#DFC772#DFC772

#DFC772 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.2% C 0.109 H 94.1°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#DFC772
RGBrgb(223, 199, 114)
HSLhsl(47, 63%, 66%)
HSVhsv(47, 49%, 87%)
CMYKcmyk(0%, 10.8%, 48.9%, 12.5%)
CIE-LABlab(80.60, -2.54, 45.36)
CIE-LCHlch(80.60, 45.44, 93.20°)
OKLaboklab(83.19% -0.0077 0.1085)
OKLCHoklch(83.19% 0.109 94.1)
XYZxyz(53.8939, 57.7520, 24.2247)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC772 #728ADF
analogous
#DF9072 #DFC772 #C0DF72
triadic
#DFC772 #72DFC7 #C772DF
tetradic
#DFC772 #72DF90 #728ADF #DF72C0
square
#DFC772 #72DF90 #728ADF #DF72C0
split-complementary
#DFC772 #72C0DF #9072DF
monochromatic
#AF9128 #D4B340 #DFC772 #EADBA4 #F6EFD6

Accessibility & contrast

On white

1.67
#DFC772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#DFC772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC772
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC772#FFFFFF#000000##000000
##DFC7721.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46B
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#EEBBB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc772;
/* rgb */ color: rgb(223, 199, 114);
/* oklch */ color: oklch(83.2% 0.109 94.1);
Tailwind
colors: {
  custom: {
    50: '#ebd79c',
    500: '#dfc772',
    950: '#000000',
  },
}
SCSS
$custom: #dfc772;
$custom-light: #ebd79c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc772",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 46.789,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83194,
    "c": 0.10879,
    "h": 94.1
  },
  "luminance": 0.5775
}

Semantic roles & 50–950 ramp

primary
#DFC772
secondary
#455CB1
accent
#41CB1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC772

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

Preview Lab → · Contrast checker → · Palette generator →

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