#DFDB78#DFDB78

#DFDB78 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.4% C 0.122 H 106.6°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#DFDB78
RGBrgb(223, 219, 120)
HSLhsl(58, 62%, 67%)
HSVhsv(58, 46%, 87%)
CMYKcmyk(0%, 1.8%, 46.2%, 12.5%)
CIE-LABlab(85.86, -12.16, 48.87)
CIE-LCHlch(85.86, 50.36, 103.97°)
OKLaboklab(87.39% -0.0348 0.1167)
OKLCHoklch(87.39% 0.122 106.6)
XYZxyz(59.1544, 67.7086, 27.7186)
Luminance0.6771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDB78 #787CDF
analogous
#DFA878 #DFDB78 #B0DF78
triadic
#DFDB78 #78DFDB #DB78DF
tetradic
#DFDB78 #78DFA8 #787CDF #DF78B0
square
#DFDB78 #78DFA8 #787CDF #DF78B0
split-complementary
#DFDB78 #78B0DF #A878DF
monochromatic
#B2AD2A #D3CE47 #DFDB78 #EBE8A9 #F6F5DB

Accessibility & contrast

On white

1.44
#DFDB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#DFDB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDB78
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDB78#FFFFFF#000000##000000
##DFDB781.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD470
Deuteranopia (green-blind)
#ECD97D
Tritanopia (blue-blind)
#ECD0C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdb78;
/* rgb */ color: rgb(223, 219, 120);
/* oklch */ color: oklch(87.4% 0.122 106.6);
Tailwind
colors: {
  custom: {
    50: '#ebe6a1',
    500: '#dfdb78',
    950: '#000000',
  },
}
SCSS
$custom: #dfdb78;
$custom-light: #ebe6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdb78",
  "rgb": {
    "r": 223,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 57.67,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87388,
    "c": 0.12181,
    "h": 106.6
  },
  "luminance": 0.67707
}

Semantic roles & 50–950 ramp

primary
#DFDB78
secondary
#474CB4
accent
#23C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDB78

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

Preview Lab → · Contrast checker → · Palette generator →

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