#DFD875#DFD875

#DFD875 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.122 H 105.1°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DFD875
RGBrgb(223, 216, 117)
HSLhsl(56, 62%, 67%)
HSVhsv(56, 48%, 87%)
CMYKcmyk(0%, 3.1%, 47.5%, 12.5%)
CIE-LABlab(85.04, -10.93, 49.31)
CIE-LCHlch(85.04, 50.51, 102.50°)
OKLaboklab(86.72% -0.0316 0.1175)
OKLCHoklch(86.72% 0.122 105.1)
XYZxyz(58.1996, 66.0857, 26.5162)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD875 #757CDF
analogous
#DFA375 #DFD875 #B1DF75
triadic
#DFD875 #75DFD8 #D875DF
tetradic
#DFD875 #75DFA3 #757CDF #DF75B1
square
#DFD875 #75DFA3 #757CDF #DF75B1
split-complementary
#DFD875 #75B1DF #A375DF
monochromatic
#B1A829 #D3CA43 #DFD875 #EBE6A7 #F6F4D8

Accessibility & contrast

On white

1.48
#DFD875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#DFD875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD875
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD875#FFFFFF#000000##000000
##DFD8751.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26C
Deuteranopia (green-blind)
#EAD77A
Tritanopia (blue-blind)
#ECCDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd875;
/* rgb */ color: rgb(223, 216, 117);
/* oklch */ color: oklch(86.7% 0.122 105.1);
Tailwind
colors: {
  custom: {
    50: '#ebe39f',
    500: '#dfd875',
    950: '#000000',
  },
}
SCSS
$custom: #dfd875;
$custom-light: #ebe39f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd875",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 56.038,
    "s": 62.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86724,
    "c": 0.12166,
    "h": 105.1
  },
  "luminance": 0.66084
}

Semantic roles & 50–950 ramp

primary
#DFD875
secondary
#464DB2
accent
#27CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD875

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

Preview Lab → · Contrast checker → · Palette generator →

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