#DFD270#DFD270

#DFD270 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.121 H 101.8°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#DFD270
RGBrgb(223, 210, 112)
HSLhsl(53, 63%, 66%)
HSVhsv(53, 50%, 87%)
CMYKcmyk(0%, 5.8%, 49.8%, 12.5%)
CIE-LABlab(83.42, -8.35, 49.75)
CIE-LCHlch(83.42, 50.45, 99.53°)
OKLaboklab(85.42% -0.0247 0.118)
OKLCHoklch(85.42% 0.121 101.8)
XYZxyz(56.4043, 62.9529, 24.5061)
Luminance0.6295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD270 #707DDF
analogous
#DF9A70 #DFD270 #B4DF70
triadic
#DFD270 #70DFD2 #D270DF
tetradic
#DFD270 #70DF9A #707DDF #DF70B4
square
#DFD270 #70DF9A #707DDF #DF70B4
split-complementary
#DFD270 #70B4DF #9A70DF
monochromatic
#AE9E27 #D4C23E #DFD270 #EAE2A2 #F5F1D4

Accessibility & contrast

On white

1.55
#DFD270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#DFD270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD270
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD270#FFFFFF#000000##000000
##DFD2701.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD67
Deuteranopia (green-blind)
#E6D274
Tritanopia (blue-blind)
#EDC6BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd270;
/* rgb */ color: rgb(223, 210, 112);
/* oklch */ color: oklch(85.4% 0.121 101.8);
Tailwind
colors: {
  custom: {
    50: '#ebdf9b',
    500: '#dfd270',
    950: '#000000',
  },
}
SCSS
$custom: #dfd270;
$custom-light: #ebdf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd270",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 52.973,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85416,
    "c": 0.12059,
    "h": 101.8
  },
  "luminance": 0.62951
}

Semantic roles & 50–950 ramp

primary
#DFD270
secondary
#4450B0
accent
#2FCB1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD270

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

Preview Lab → · Contrast checker → · Palette generator →

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