#DFDF7C#DFDF7C

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

Color values

HEX#DFDF7C
RGBrgb(223, 223, 124)
HSLhsl(60, 61%, 68%)
HSVhsv(60, 44%, 87%)
CMYKcmyk(0%, 0%, 44.4%, 12.5%)
CIE-LABlab(86.96, -13.78, 48.28)
CIE-LCHlch(86.96, 50.21, 105.92°)
OKLaboklab(88.28% -0.0391 0.1157)
OKLCHoklch(88.28% 0.122 108.7)
XYZxyz(60.4583, 69.9199, 29.3759)
Luminance0.6992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF7C #7C7CDF
analogous
#DFAD7C #DFDF7C #ADDF7C
triadic
#DFDF7C #7CDFDF #DF7CDF
tetradic
#DFDF7C #7CDFAD #7C7CDF #DF7CAD
square
#DFDF7C #7CDFAD #7C7CDF #DF7CAD
split-complementary
#DFDF7C #7CADDF #AD7CDF
monochromatic
#B5B52C #D3D34B #DFDF7C #EBEBAD #F7F7DE

Accessibility & contrast

On white

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

On black

14.98
#DFDF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF7C
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF7C#FFFFFF#000000##000000
##DFDF7C1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdf7c;
/* rgb */ color: rgb(223, 223, 124);
/* oklch */ color: oklch(88.3% 0.122 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe8a4',
    500: '#dfdf7c',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf7c;
$custom-light: #ebe8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf7c",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 60,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88276,
    "c": 0.12213,
    "h": 108.7
  },
  "luminance": 0.69919
}

Semantic roles & 50–950 ramp

primary
#DFDF7C
secondary
#4949B6
accent
#1DC81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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