#DFD378#DFD378

#DFD378 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.7% C 0.113 H 101.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#DFD378
RGBrgb(223, 211, 120)
HSLhsl(53, 62%, 67%)
HSVhsv(53, 46%, 87%)
CMYKcmyk(0%, 5.4%, 46.2%, 12.5%)
CIE-LABlab(83.78, -8.13, 46.31)
CIE-LCHlch(83.78, 47.02, 99.96°)
OKLaboklab(85.73% -0.0232 0.1111)
OKLCHoklch(85.73% 0.113 101.8)
XYZxyz(57.1173, 63.6344, 27.0396)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD378 #7884DF
analogous
#DFA078 #DFD378 #B7DF78
triadic
#DFD378 #78DFD3 #D378DF
tetradic
#DFD378 #78DFA0 #7884DF #DF78B7
square
#DFD378 #78DFA0 #7884DF #DF78B7
split-complementary
#DFD378 #78B7DF #A078DF
monochromatic
#B2A22A #D3C347 #DFD378 #EBE3A9 #F6F3DB

Accessibility & contrast

On white

1.53
#DFD378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#DFD378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD378
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD378#FFFFFF#000000##000000
##DFD3781.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE70
Deuteranopia (green-blind)
#E6D37C
Tritanopia (blue-blind)
#EDC8BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd378;
/* rgb */ color: rgb(223, 211, 120);
/* oklch */ color: oklch(85.7% 0.113 101.8);
Tailwind
colors: {
  custom: {
    50: '#ebe0a1',
    500: '#dfd378',
    950: '#000000',
  },
}
SCSS
$custom: #dfd378;
$custom-light: #ebe0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd378",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 53.01,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85732,
    "c": 0.11348,
    "h": 101.8
  },
  "luminance": 0.63633
}

Semantic roles & 50–950 ramp

primary
#DFD378
secondary
#4754B4
accent
#30C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD378

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

Preview Lab → · Contrast checker → · Palette generator →

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