#DFD278#DFD278

#DFD278 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.112 H 101.2°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DFD278
RGBrgb(223, 210, 120)
HSLhsl(52, 62%, 67%)
HSVhsv(52, 46%, 87%)
CMYKcmyk(0%, 5.8%, 46.2%, 12.5%)
CIE-LABlab(83.52, -7.62, 45.99)
CIE-LCHlch(83.52, 46.62, 99.41°)
OKLaboklab(85.53% -0.0218 0.1104)
OKLCHoklch(85.53% 0.112 101.2)
XYZxyz(56.8696, 63.1391, 26.9570)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD278 #7885DF
analogous
#DF9E78 #DFD278 #B9DF78
triadic
#DFD278 #78DFD2 #D278DF
tetradic
#DFD278 #78DF9E #7885DF #DF78B9
square
#DFD278 #78DF9E #7885DF #DF78B9
split-complementary
#DFD278 #78B9DF #9E78DF
monochromatic
#B2A12A #D3C247 #DFD278 #EBE2A9 #F6F3DB

Accessibility & contrast

On white

1.54
#DFD278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#DFD278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD278
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD278#FFFFFF#000000##000000
##DFD2781.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD71
Deuteranopia (green-blind)
#E5D37C
Tritanopia (blue-blind)
#EDC7BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd278;
/* rgb */ color: rgb(223, 210, 120);
/* oklch */ color: oklch(85.5% 0.112 101.2);
Tailwind
colors: {
  custom: {
    50: '#ebdfa0',
    500: '#dfd278',
    950: '#000000',
  },
}
SCSS
$custom: #dfd278;
$custom-light: #ebdfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd278",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 52.427,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85526,
    "c": 0.11249,
    "h": 101.2
  },
  "luminance": 0.63137
}

Semantic roles & 50–950 ramp

primary
#DFD278
secondary
#4755B4
accent
#32C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD278

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

Preview Lab → · Contrast checker → · Palette generator →

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