#DFDF7E#DFDF7E

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

Color values

HEX#DFDF7E
RGBrgb(223, 223, 126)
HSLhsl(60, 60%, 68%)
HSVhsv(60, 43%, 87%)
CMYKcmyk(0%, 0%, 43.5%, 12.5%)
CIE-LABlab(86.98, -13.58, 47.34)
CIE-LCHlch(86.98, 49.25, 106.01°)
OKLaboklab(88.3% -0.0383 0.1138)
OKLCHoklch(88.3% 0.12 108.6)
XYZxyz(60.5861, 69.9710, 30.0488)
Luminance0.6997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF7E #7E7EDF
analogous
#DFAE7E #DFDF7E #AEDF7E
triadic
#DFDF7E #7EDFDF #DF7EDF
tetradic
#DFDF7E #7EDFAE #7E7EDF #DF7EAE
square
#DFDF7E #7EDFAE #7E7EDF #DF7EAE
split-complementary
#DFDF7E #7EAEDF #AE7EDF
monochromatic
#B6B62D #D3D34D #DFDF7E #EBEBAF #F7F7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFDF7E#FFFFFF#000000##000000
##DFDF7E1.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)
#EDD876
Deuteranopia (green-blind)
#EEDC83
Tritanopia (blue-blind)
#EBD4C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf7e;
/* rgb */ color: rgb(223, 223, 126);
/* oklch */ color: oklch(88.3% 0.120 108.6);
Tailwind
colors: {
  custom: {
    50: '#eae8a5',
    500: '#dfdf7e',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf7e;
$custom-light: #eae8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf7e",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 60,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88304,
    "c": 0.12006,
    "h": 108.6
  },
  "luminance": 0.6997
}

Semantic roles & 50–950 ramp

primary
#DFDF7E
secondary
#4B4BB6
accent
#1EC81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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