#DFD975#DFD975

#DFD975 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.123 H 105.6°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DFD975
RGBrgb(223, 217, 117)
HSLhsl(57, 62%, 67%)
HSVhsv(57, 48%, 87%)
CMYKcmyk(0%, 2.7%, 47.5%, 12.5%)
CIE-LABlab(85.30, -11.44, 49.63)
CIE-LCHlch(85.30, 50.93, 102.98°)
OKLaboklab(86.93% -0.033 0.1182)
OKLCHoklch(86.93% 0.123 105.6)
XYZxyz(58.4566, 66.5997, 26.6019)
Luminance0.6660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD975 #757BDF
analogous
#DFA475 #DFD975 #B0DF75
triadic
#DFD975 #75DFD9 #D975DF
tetradic
#DFD975 #75DFA4 #757BDF #DF75B0
square
#DFD975 #75DFA4 #757BDF #DF75B0
split-complementary
#DFD975 #75B0DF #A475DF
monochromatic
#B1A929 #D3CB43 #DFD975 #EBE7A7 #F6F4D8

Accessibility & contrast

On white

1.47
#DFD975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#DFD975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD975
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD975#FFFFFF#000000##000000
##DFD9751.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26C
Deuteranopia (green-blind)
#EBD77A
Tritanopia (blue-blind)
#ECCEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd975;
/* rgb */ color: rgb(223, 217, 117);
/* oklch */ color: oklch(86.9% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#ebe49f',
    500: '#dfd975',
    950: '#000000',
  },
}
SCSS
$custom: #dfd975;
$custom-light: #ebe49f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd975",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 56.604,
    "s": 62.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86931,
    "c": 0.12271,
    "h": 105.6
  },
  "luminance": 0.66598
}

Semantic roles & 50–950 ramp

primary
#DFD975
secondary
#464CB2
accent
#25CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD975

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

Preview Lab → · Contrast checker → · Palette generator →

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