#DFDF7A#DFDF7A

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

Color values

HEX#DFDF7A
RGBrgb(223, 223, 122)
HSLhsl(60, 61%, 68%)
HSVhsv(60, 45%, 87%)
CMYKcmyk(0%, 0%, 45.3%, 12.5%)
CIE-LABlab(86.93, -13.97, 49.21)
CIE-LCHlch(86.93, 51.16, 105.84°)
OKLaboklab(88.25% -0.0398 0.1176)
OKLCHoklch(88.25% 0.124 108.7)
XYZxyz(60.3331, 69.8698, 28.7166)
Luminance0.6987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF7A #7A7ADF
analogous
#DFAC7A #DFDF7A #ACDF7A
triadic
#DFDF7A #7ADFDF #DF7ADF
tetradic
#DFDF7A #7ADFAC #7A7ADF #DF7AAC
square
#DFDF7A #7ADFAC #7A7ADF #DF7AAC
split-complementary
#DFDF7A #7AACDF #AC7ADF
monochromatic
#B3B32B #D3D349 #DFDF7A #EBEBAB #F7F7DD

Accessibility & contrast

On white

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

On black

14.97
#DFDF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF7A
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF7A#FFFFFF#000000##000000
##DFDF7A1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD871
Deuteranopia (green-blind)
#EFDC7F
Tritanopia (blue-blind)
#ECD4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf7a;
/* rgb */ color: rgb(223, 223, 122);
/* oklch */ color: oklch(88.2% 0.124 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe8a2',
    500: '#dfdf7a',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf7a;
$custom-light: #ebe8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf7a",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88249,
    "c": 0.12419,
    "h": 108.7
  },
  "luminance": 0.69868
}

Semantic roles & 50–950 ramp

primary
#DFDF7A
secondary
#4848B5
accent
#1DC91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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