#DFE97B#DFE97B

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

Color values

HEX#DFE97B
RGBrgb(223, 233, 123)
HSLhsl(65, 71%, 70%)
HSVhsv(65, 47%, 91%)
CMYKcmyk(4.3%, 0%, 47.2%, 8.6%)
CIE-LABlab(89.58, -18.79, 51.95)
CIE-LCHlch(89.58, 55.24, 109.89°)
OKLaboklab(90.36% -0.0535 0.1237)
OKLCHoklch(90.36% 0.135 113.4)
XYZxyz(63.1465, 75.3969, 29.9616)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE97B #857BE9
analogous
#E9BC7B #DFE97B #A8E97B
triadic
#DFE97B #7BDFE9 #E97BDF
tetradic
#DFE97B #7BE9BC #857BE9 #E97BA8
square
#DFE97B #7BE9BC #857BE9 #E97BA8
split-complementary
#DFE97B #7BA8E9 #BC7BE9
monochromatic
#B9C821 #D2E047 #DFE97B #ECF2AF #F8FAE4

Accessibility & contrast

On white

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

On black

16.08
#DFE97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE97B
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE97B#FFFFFF#000000##000000
##DFE97B1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfe97b;
/* rgb */ color: rgb(223, 233, 123);
/* oklch */ color: oklch(90.4% 0.135 113.4);
Tailwind
colors: {
  custom: {
    50: '#ebf0a3',
    500: '#dfe97b',
    950: '#000000',
  },
}
SCSS
$custom: #dfe97b;
$custom-light: #ebf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe97b",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 65.455,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90361,
    "c": 0.1348,
    "h": 113.4
  },
  "luminance": 0.75396
}

Semantic roles & 50–950 ramp

primary
#DFE97B
secondary
#5247C2
accent
#12D324
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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