#DFD266#DFD266

#DFD266 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.130 H 102.5°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#DFD266
RGBrgb(223, 210, 102)
HSLhsl(54, 65%, 64%)
HSVhsv(54, 54%, 87%)
CMYKcmyk(0%, 5.8%, 54.3%, 12.5%)
CIE-LABlab(83.31, -9.18, 54.33)
CIE-LCHlch(83.31, 55.10, 99.59°)
OKLaboklab(85.29% -0.0281 0.1271)
OKLCHoklch(85.29% 0.13 102.5)
XYZxyz(55.8781, 62.7424, 21.7349)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD266 #6673DF
analogous
#DF9566 #DFD266 #AFDF66
triadic
#DFD266 #66DFD2 #D266DF
tetradic
#DFD266 #66DF95 #6673DF #DF66AF
square
#DFD266 #66DF95 #6673DF #DF66AF
split-complementary
#DFD266 #66AFDF #9566DF
monochromatic
#A89923 #D4C333 #DFD266 #EAE199 #F4F0CB

Accessibility & contrast

On white

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

On black

13.55
#DFD266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD266
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD266#FFFFFF#000000##000000
##DFD2661.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E7D26B
Tritanopia (blue-blind)
#EEC6BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd266;
/* rgb */ color: rgb(223, 210, 102);
/* oklch */ color: oklch(85.3% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#ebdf95',
    500: '#dfd266',
    950: '#000000',
  },
}
SCSS
$custom: #dfd266;
$custom-light: #ebdf95;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd266",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 53.554,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85293,
    "c": 0.13015,
    "h": 102.5
  },
  "luminance": 0.6274
}

Semantic roles & 50–950 ramp

primary
#DFD266
secondary
#3F4BAA
accent
#2CCD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD266

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

Preview Lab → · Contrast checker → · Palette generator →

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