#DFD072#DFD072

#DFD072 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.117 H 100.4°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DFD072
RGBrgb(223, 208, 114)
HSLhsl(52, 63%, 66%)
HSVhsv(52, 49%, 87%)
CMYKcmyk(0%, 6.7%, 48.9%, 12.5%)
CIE-LABlab(82.92, -7.16, 48.19)
CIE-LCHlch(82.92, 48.72, 98.45°)
OKLaboklab(85.03% -0.021 0.1148)
OKLCHoklch(85.03% 0.117 100.4)
XYZxyz(56.0262, 62.0166, 24.9355)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD072 #7281DF
analogous
#DF9972 #DFD072 #B7DF72
triadic
#DFD072 #72DFD0 #D072DF
tetradic
#DFD072 #72DF99 #7281DF #DF72B7
square
#DFD072 #72DF99 #7281DF #DF72B7
split-complementary
#DFD072 #72B7DF #9972DF
monochromatic
#AF9C28 #D4BF40 #DFD072 #EAE1A4 #F6F1D6

Accessibility & contrast

On white

1.57
#DFD072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DFD072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD072
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD072#FFFFFF#000000##000000
##DFD0721.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6A
Deuteranopia (green-blind)
#E4D176
Tritanopia (blue-blind)
#EDC4BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd072;
/* rgb */ color: rgb(223, 208, 114);
/* oklch */ color: oklch(85.0% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#ebde9c',
    500: '#dfd072',
    950: '#000000',
  },
}
SCSS
$custom: #dfd072;
$custom-light: #ebde9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd072",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 51.743,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85031,
    "c": 0.11669,
    "h": 100.4
  },
  "luminance": 0.62015
}

Semantic roles & 50–950 ramp

primary
#DFD072
secondary
#4553B1
accent
#33CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD072

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

Preview Lab → · Contrast checker → · Palette generator →

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