#DFD970#DFD970

#DFD970 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.128 H 105.8°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#DFD970
RGBrgb(223, 217, 112)
HSLhsl(57, 63%, 66%)
HSVhsv(57, 50%, 87%)
CMYKcmyk(0%, 2.7%, 49.8%, 12.5%)
CIE-LABlab(85.24, -11.88, 51.93)
CIE-LCHlch(85.24, 53.28, 102.89°)
OKLaboklab(86.87% -0.0348 0.1228)
OKLCHoklch(86.87% 0.128 105.8)
XYZxyz(58.1704, 66.4852, 25.0948)
Luminance0.6648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD970 #7076DF
analogous
#DFA170 #DFD970 #ADDF70
triadic
#DFD970 #70DFD9 #D970DF
tetradic
#DFD970 #70DFA1 #7076DF #DF70AD
square
#DFD970 #70DFA1 #7076DF #DF70AD
split-complementary
#DFD970 #70ADDF #A170DF
monochromatic
#AEA627 #D4CC3E #DFD970 #EAE6A2 #F5F4D4

Accessibility & contrast

On white

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

On black

14.30
#DFD970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD970
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD970#FFFFFF#000000##000000
##DFD9701.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D266
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#EDCDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd970;
/* rgb */ color: rgb(223, 217, 112);
/* oklch */ color: oklch(86.9% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#ebe49b',
    500: '#dfd970',
    950: '#000000',
  },
}
SCSS
$custom: #dfd970;
$custom-light: #ebe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd970",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 56.757,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86866,
    "c": 0.12766,
    "h": 105.8
  },
  "luminance": 0.66484
}

Semantic roles & 50–950 ramp

primary
#DFD970
secondary
#4449B0
accent
#24CB1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD970

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

Preview Lab → · Contrast checker → · Palette generator →

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