#DFDF72#DFDF72

#DFDF72 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.1% C 0.132 H 108.8°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#DFDF72
RGBrgb(223, 223, 114)
HSLhsl(60, 63%, 66%)
HSVhsv(60, 49%, 87%)
CMYKcmyk(0%, 0%, 48.9%, 12.5%)
CIE-LABlab(86.84, -14.70, 52.89)
CIE-LCHlch(86.84, 54.90, 105.53°)
OKLaboklab(88.14% -0.0427 0.1251)
OKLCHoklch(88.14% 0.132 108.8)
XYZxyz(59.8577, 69.6797, 26.2127)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF72 #7272DF
analogous
#DFA872 #DFDF72 #A8DF72
triadic
#DFDF72 #72DFDF #DF72DF
tetradic
#DFDF72 #72DFA8 #7272DF #DF72A8
square
#DFDF72 #72DFA8 #7272DF #DF72A8
split-complementary
#DFDF72 #72A8DF #A872DF
monochromatic
#AFAF28 #D4D440 #DFDF72 #EAEAA4 #F6F6D6

Accessibility & contrast

On white

1.41
#DFDF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#DFDF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF72
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF72#FFFFFF#000000##000000
##DFDF721.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED768
Deuteranopia (green-blind)
#F0DB77
Tritanopia (blue-blind)
#ECD3C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf72;
/* rgb */ color: rgb(223, 223, 114);
/* oklch */ color: oklch(88.1% 0.132 108.8);
Tailwind
colors: {
  custom: {
    50: '#ebe89d',
    500: '#dfdf72',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf72;
$custom-light: #ebe89d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf72",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88144,
    "c": 0.13216,
    "h": 108.8
  },
  "luminance": 0.69678
}

Semantic roles & 50–950 ramp

primary
#DFDF72
secondary
#4545B1
accent
#1BCB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DFDF72

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

Preview Lab → · Contrast checker → · Palette generator →

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