#EDF271#EDF271

#EDF271 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.2% C 0.152 H 111.0°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#EDF271
RGBrgb(237, 242, 113)
HSLhsl(62, 83%, 70%)
HSVhsv(62, 53%, 95%)
CMYKcmyk(2.1%, 0%, 53.3%, 5.1%)
CIE-LABlab(92.88, -18.53, 60.68)
CIE-LCHlch(92.88, 63.45, 106.98°)
OKLaboklab(93.22% -0.0544 0.1417)
OKLCHoklch(93.22% 0.152 111)
XYZxyz(69.6594, 82.7026, 27.9132)
Luminance0.8270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF271 #7671F2
analogous
#F2B771 #EDF271 #ACF271
triadic
#EDF271 #71EDF2 #F271ED
tetradic
#EDF271 #71F2B7 #7671F2 #F271AC
square
#EDF271 #71F2B7 #7671F2 #F271AC
split-complementary
#EDF271 #71ACF2 #B771F2
monochromatic
#CED514 #E6ED39 #EDF271 #F4F7A9 #FBFCE1

Accessibility & contrast

On white

1.20
#EDF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#EDF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF271
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF271#FFFFFF#000000##000000
##EDF2711.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#FBE5D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #edf271;
/* rgb */ color: rgb(237, 242, 113);
/* oklch */ color: oklch(93.2% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#f5f69d',
    500: '#edf271',
    950: '#000000',
  },
}
SCSS
$custom: #edf271;
$custom-light: #f5f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#edf271",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 62.326,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93223,
    "c": 0.15175,
    "h": 111
  },
  "luminance": 0.82701
}

Semantic roles & 50–950 ramp

primary
#EDF271
secondary
#413CCB
accent
#06E00E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF271

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

Preview Lab → · Contrast checker → · Palette generator →

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