#DFDF7D#DFDF7D

#DFDF7D is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.3% C 0.121 H 108.6°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#DFDF7D
RGBrgb(223, 223, 125)
HSLhsl(60, 60%, 68%)
HSVhsv(60, 44%, 87%)
CMYKcmyk(0%, 0%, 43.9%, 12.5%)
CIE-LABlab(86.97, -13.68, 47.81)
CIE-LCHlch(86.97, 49.73, 105.96°)
OKLaboklab(88.29% -0.0387 0.1147)
OKLCHoklch(88.29% 0.121 108.6)
XYZxyz(60.5219, 69.9453, 29.7107)
Luminance0.6994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF7D #7D7DDF
analogous
#DFAE7D #DFDF7D #AEDF7D
triadic
#DFDF7D #7DDFDF #DF7DDF
tetradic
#DFDF7D #7DDFAE #7D7DDF #DF7DAE
square
#DFDF7D #7DDFAE #7D7DDF #DF7DAE
split-complementary
#DFDF7D #7DAEDF #AE7DDF
monochromatic
#B5B52D #D3D34C #DFDF7D #EBEBAE #F7F7DF

Accessibility & contrast

On white

1.40
#DFDF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#DFDF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF7D
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF7D#FFFFFF#000000##000000
##DFDF7D1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD875
Deuteranopia (green-blind)
#EFDC82
Tritanopia (blue-blind)
#EBD4C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf7d;
/* rgb */ color: rgb(223, 223, 125);
/* oklch */ color: oklch(88.3% 0.121 108.6);
Tailwind
colors: {
  custom: {
    50: '#ebe8a4',
    500: '#dfdf7d',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf7d;
$custom-light: #ebe8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf7d",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8829,
    "c": 0.12109,
    "h": 108.6
  },
  "luminance": 0.69944
}

Semantic roles & 50–950 ramp

primary
#DFDF7D
secondary
#4A4AB6
accent
#1DC81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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