#DFEF6B#DFEF6B

#DFEF6B is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.4% C 0.157 H 115.3°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#DFEF6B
RGBrgb(223, 239, 107)
HSLhsl(67, 80%, 68%)
HSVhsv(67, 55%, 94%)
CMYKcmyk(6.7%, 0%, 55.2%, 6.3%)
CIE-LABlab(91.00, -23.07, 60.90)
CIE-LCHlch(91.00, 65.13, 110.75°)
OKLaboklab(91.44% -0.0671 0.1417)
OKLCHoklch(91.44% 0.157 115.3)
XYZxyz(63.9529, 78.4834, 25.6869)
Luminance0.7848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF6B #7B6BEF
analogous
#EFBD6B #DFEF6B #9DEF6B
triadic
#DFEF6B #6BDFEF #EF6BDF
tetradic
#DFEF6B #6BEFBD #7B6BEF #EF6B9D
square
#DFEF6B #6BEFBD #7B6BEF #EF6B9D
split-complementary
#DFEF6B #6B9DEF #BD6BEF
monochromatic
#B4CA16 #D3E934 #DFEF6B #EBF5A2 #F7FBD9

Accessibility & contrast

On white

1.26
#DFEF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#DFEF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF6B
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF6B#FFFFFF#000000##000000
##DFEF6B1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE45D
Deuteranopia (green-blind)
#FDE673
Tritanopia (blue-blind)
#EBE3D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef6b;
/* rgb */ color: rgb(223, 239, 107);
/* oklch */ color: oklch(91.4% 0.157 115.3);
Tailwind
colors: {
  custom: {
    50: '#ebf499',
    500: '#dfef6b',
    950: '#000000',
  },
}
SCSS
$custom: #dfef6b;
$custom-light: #ebf499;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef6b",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 107
  },
  "hsl": {
    "h": 67.273,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91443,
    "c": 0.15681,
    "h": 115.3
  },
  "luminance": 0.78483
}

Semantic roles & 50–950 ramp

primary
#DFEF6B
secondary
#4937C7
accent
#09DD22
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DFEF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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