#DFD272#DFD272

#DFD272 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.119 H 101.7°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#DFD272
RGBrgb(223, 210, 114)
HSLhsl(53, 63%, 66%)
HSVhsv(53, 49%, 87%)
CMYKcmyk(0%, 5.8%, 48.9%, 12.5%)
CIE-LABlab(83.44, -8.17, 48.82)
CIE-LCHlch(83.44, 49.50, 99.50°)
OKLaboklab(85.44% -0.024 0.1162)
OKLCHoklch(85.44% 0.119 101.7)
XYZxyz(56.5169, 62.9979, 25.0991)
Luminance0.6300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD272 #727FDF
analogous
#DF9B72 #DFD272 #B5DF72
triadic
#DFD272 #72DFD2 #D272DF
tetradic
#DFD272 #72DF9B #727FDF #DF72B5
square
#DFD272 #72DF9B #727FDF #DF72B5
split-complementary
#DFD272 #72B5DF #9B72DF
monochromatic
#AF9F28 #D4C240 #DFD272 #EAE2A4 #F6F2D6

Accessibility & contrast

On white

1.54
#DFD272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#DFD272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD272
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD272#FFFFFF#000000##000000
##DFD2721.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6A
Deuteranopia (green-blind)
#E5D376
Tritanopia (blue-blind)
#EDC6BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd272;
/* rgb */ color: rgb(223, 210, 114);
/* oklch */ color: oklch(85.4% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#ebdf9c',
    500: '#dfd272',
    950: '#000000',
  },
}
SCSS
$custom: #dfd272;
$custom-light: #ebdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd272",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 52.844,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85443,
    "c": 0.11861,
    "h": 101.7
  },
  "luminance": 0.62996
}

Semantic roles & 50–950 ramp

primary
#DFD272
secondary
#4551B1
accent
#30CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD272

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

Preview Lab → · Contrast checker → · Palette generator →

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