#DFD96A#DFD96A

#DFD96A is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.133 H 106.1°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#DFD96A
RGBrgb(223, 217, 106)
HSLhsl(57, 65%, 65%)
HSVhsv(57, 52%, 87%)
CMYKcmyk(0%, 2.7%, 52.5%, 12.5%)
CIE-LABlab(85.18, -12.38, 54.66)
CIE-LCHlch(85.18, 56.04, 102.77°)
OKLaboklab(86.79% -0.0369 0.1282)
OKLCHoklch(86.79% 0.133 106.1)
XYZxyz(57.8474, 66.3560, 23.3937)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD96A #6A70DF
analogous
#DF9F6A #DFD96A #ABDF6A
triadic
#DFD96A #6ADFD9 #D96ADF
tetradic
#DFD96A #6ADF9F #6A70DF #DF6AAB
square
#DFD96A #6ADF9F #6A70DF #DF6AAB
split-complementary
#DFD96A #6AABDF #9F6ADF
monochromatic
#AAA325 #D4CC38 #DFD96A #EAE69C #F5F3CF

Accessibility & contrast

On white

1.47
#DFD96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#DFD96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD96A
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD96A#FFFFFF#000000##000000
##DFD96A1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25F
Deuteranopia (green-blind)
#ECD770
Tritanopia (blue-blind)
#EDCDC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd96a;
/* rgb */ color: rgb(223, 217, 106);
/* oklch */ color: oklch(86.8% 0.133 106.1);
Tailwind
colors: {
  custom: {
    50: '#ebe498',
    500: '#dfd96a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd96a;
$custom-light: #ebe498;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd96a",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 56.923,
    "s": 64.641,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86793,
    "c": 0.13338,
    "h": 106.1
  },
  "luminance": 0.66354
}

Semantic roles & 50–950 ramp

primary
#DFD96A
secondary
#4146AC
accent
#22CC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD96A

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

Preview Lab → · Contrast checker → · Palette generator →

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