#DFE97A#DFE97A

#DFE97A is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.3% C 0.136 H 113.4°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#DFE97A
RGBrgb(223, 233, 122)
HSLhsl(65, 72%, 70%)
HSVhsv(65, 48%, 91%)
CMYKcmyk(4.3%, 0%, 47.6%, 8.6%)
CIE-LABlab(89.57, -18.89, 52.40)
CIE-LCHlch(89.57, 55.70, 109.82°)
OKLaboklab(90.35% -0.0538 0.1247)
OKLCHoklch(90.35% 0.136 113.4)
XYZxyz(63.0842, 75.3719, 29.6336)
Luminance0.7537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE97A #847AE9
analogous
#E9BB7A #DFE97A #A8E97A
triadic
#DFE97A #7ADFE9 #E97ADF
tetradic
#DFE97A #7AE9BB #847AE9 #E97AA8
square
#DFE97A #7AE9BB #847AE9 #E97AA8
split-complementary
#DFE97A #7AA8E9 #BB7AE9
monochromatic
#B9C821 #D2E045 #DFE97A #ECF2AF #F8FAE3

Accessibility & contrast

On white

1.31
#DFE97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#DFE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE97A
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE97A#FFFFFF#000000##000000
##DFE97A1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#F7E280
Tritanopia (blue-blind)
#EBDECF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfe97a;
/* rgb */ color: rgb(223, 233, 122);
/* oklch */ color: oklch(90.3% 0.136 113.4);
Tailwind
colors: {
  custom: {
    50: '#ebf0a3',
    500: '#dfe97a',
    950: '#000000',
  },
}
SCSS
$custom: #dfe97a;
$custom-light: #ebf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe97a",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 65.405,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90348,
    "c": 0.13579,
    "h": 113.4
  },
  "luminance": 0.75371
}

Semantic roles & 50–950 ramp

primary
#DFE97A
secondary
#5146C1
accent
#12D423
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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