#DFD96B#DFD96B

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

Color values

HEX#DFD96B
RGBrgb(223, 217, 107)
HSLhsl(57, 64%, 65%)
HSVhsv(57, 52%, 87%)
CMYKcmyk(0%, 2.7%, 52%, 12.5%)
CIE-LABlab(85.19, -12.30, 54.21)
CIE-LCHlch(85.19, 55.59, 102.79°)
OKLaboklab(86.81% -0.0365 0.1273)
OKLCHoklch(86.81% 0.132 106)
XYZxyz(57.8997, 66.3769, 23.6691)
Luminance0.6637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD96B #6B71DF
analogous
#DF9F6B #DFD96B #ABDF6B
triadic
#DFD96B #6BDFD9 #D96BDF
tetradic
#DFD96B #6BDF9F #6B71DF #DF6BAB
square
#DFD96B #6BDF9F #6B71DF #DF6BAB
split-complementary
#DFD96B #6BABDF #9F6BDF
monochromatic
#ABA425 #D4CC39 #DFD96B #EAE69D #F5F3D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD96B#FFFFFF#000000##000000
##DFD96B1.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)
#E9D261
Deuteranopia (green-blind)
#EBD770
Tritanopia (blue-blind)
#EDCDC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd96b;
/* rgb */ color: rgb(223, 217, 107);
/* oklch */ color: oklch(86.8% 0.132 106.0);
Tailwind
colors: {
  custom: {
    50: '#ebe498',
    500: '#dfd96b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd96b;
$custom-light: #ebe498;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd96b",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 56.897,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86805,
    "c": 0.13244,
    "h": 106
  },
  "luminance": 0.66375
}

Semantic roles & 50–950 ramp

primary
#DFD96B
secondary
#4147AD
accent
#23CC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD96B

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

Preview Lab → · Contrast checker → · Palette generator →

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