#DFE271#DFE271

#DFE271 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.8% C 0.136 H 110.3°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#DFE271
RGBrgb(223, 226, 113)
HSLhsl(62, 66%, 66%)
HSVhsv(62, 50%, 89%)
CMYKcmyk(1.3%, 0%, 50%, 11.4%)
CIE-LABlab(87.62, -16.26, 54.28)
CIE-LCHlch(87.62, 56.66, 106.68°)
OKLaboklab(88.76% -0.0472 0.128)
OKLCHoklch(88.76% 0.136 110.3)
XYZxyz(60.6097, 71.2743, 26.1841)
Luminance0.7127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE271 #7471E2
analogous
#E2AD71 #DFE271 #A7E271
triadic
#DFE271 #71DFE2 #E271DF
tetradic
#DFE271 #71E2AD #7471E2 #E271A7
square
#DFE271 #71E2AD #7471E2 #E271A7
split-complementary
#DFE271 #71A7E2 #AD71E2
monochromatic
#B0B425 #D4D83E #DFE271 #EAECA4 #F6F7D7

Accessibility & contrast

On white

1.38
#DFE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#DFE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE271
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE271#FFFFFF#000000##000000
##DFE2711.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA67
Deuteranopia (green-blind)
#F2DD77
Tritanopia (blue-blind)
#ECD6C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dfe271;
/* rgb */ color: rgb(223, 226, 113);
/* oklch */ color: oklch(88.8% 0.136 110.3);
Tailwind
colors: {
  custom: {
    50: '#ebeb9d',
    500: '#dfe271',
    950: '#000000',
  },
}
SCSS
$custom: #dfe271;
$custom-light: #ebeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe271",
  "rgb": {
    "r": 223,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 61.593,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88761,
    "c": 0.13645,
    "h": 110.3
  },
  "luminance": 0.71273
}

Semantic roles & 50–950 ramp

primary
#DFE271
secondary
#4542B5
accent
#18CE1C
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DFE271

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

Preview Lab → · Contrast checker → · Palette generator →

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