#DFDF71#DFDF71

#DFDF71 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.1% C 0.133 H 108.8°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#DFDF71
RGBrgb(223, 223, 113)
HSLhsl(60, 63%, 66%)
HSVhsv(60, 49%, 87%)
CMYKcmyk(0%, 0%, 49.3%, 12.5%)
CIE-LABlab(86.83, -14.78, 53.35)
CIE-LCHlch(86.83, 55.36, 105.49°)
OKLaboklab(88.13% -0.043 0.126)
OKLCHoklch(88.13% 0.133 108.8)
XYZxyz(59.8011, 69.6570, 25.9146)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF71 #7171DF
analogous
#DFA871 #DFDF71 #A8DF71
triadic
#DFDF71 #71DFDF #DF71DF
tetradic
#DFDF71 #71DFA8 #7171DF #DF71A8
square
#DFDF71 #71DFA8 #7171DF #DF71A8
split-complementary
#DFDF71 #71A8DF #A871DF
monochromatic
#AEAE27 #D4D43F #DFDF71 #EAEAA3 #F6F6D5

Accessibility & contrast

On white

1.41
#DFDF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#DFDF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF71
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF71#FFFFFF#000000##000000
##DFDF711.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED767
Deuteranopia (green-blind)
#F0DB77
Tritanopia (blue-blind)
#ECD3C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf71;
/* rgb */ color: rgb(223, 223, 113);
/* oklch */ color: oklch(88.1% 0.133 108.8);
Tailwind
colors: {
  custom: {
    50: '#ebe89c',
    500: '#dfdf71',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf71;
$custom-light: #ebe89c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf71",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88131,
    "c": 0.13313,
    "h": 108.8
  },
  "luminance": 0.69656
}

Semantic roles & 50–950 ramp

primary
#DFDF71
secondary
#4444B0
accent
#1BCB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DFDF71

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

Preview Lab → · Contrast checker → · Palette generator →

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