#DFDF78#DFDF78

#DFDF78 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.126 H 108.7°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#DFDF78
RGBrgb(223, 223, 120)
HSLhsl(60, 62%, 67%)
HSVhsv(60, 46%, 87%)
CMYKcmyk(0%, 0%, 46.2%, 12.5%)
CIE-LABlab(86.91, -14.15, 50.14)
CIE-LCHlch(86.91, 52.10, 105.76°)
OKLaboklab(88.22% -0.0405 0.1195)
OKLCHoklch(88.22% 0.126 108.7)
XYZxyz(60.2105, 69.8208, 28.0707)
Luminance0.6982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF78 #7878DF
analogous
#DFAC78 #DFDF78 #ACDF78
triadic
#DFDF78 #78DFDF #DF78DF
tetradic
#DFDF78 #78DFAC #7878DF #DF78AC
square
#DFDF78 #78DFAC #7878DF #DF78AC
split-complementary
#DFDF78 #78ACDF #AC78DF
monochromatic
#B2B22A #D3D347 #DFDF78 #EBEBA9 #F6F6DB

Accessibility & contrast

On white

1.40
#DFDF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#DFDF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF78
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF78#FFFFFF#000000##000000
##DFDF781.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD86F
Deuteranopia (green-blind)
#EFDB7D
Tritanopia (blue-blind)
#ECD4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf78;
/* rgb */ color: rgb(223, 223, 120);
/* oklch */ color: oklch(88.2% 0.126 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe8a1',
    500: '#dfdf78',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf78;
$custom-light: #ebe8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf78",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88222,
    "c": 0.12621,
    "h": 108.7
  },
  "luminance": 0.69819
}

Semantic roles & 50–950 ramp

primary
#DFDF78
secondary
#4747B4
accent
#1CC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF78

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

Preview Lab → · Contrast checker → · Palette generator →

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