#EDF277#EDF277

#EDF277 is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.146 H 111.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#EDF277
RGBrgb(237, 242, 119)
HSLhsl(62, 83%, 71%)
HSVhsv(62, 51%, 95%)
CMYKcmyk(2.1%, 0%, 50.8%, 5.1%)
CIE-LABlab(92.95, -18.04, 58.06)
CIE-LCHlch(92.95, 60.79, 107.26°)
OKLaboklab(93.29% -0.0525 0.1366)
OKLCHoklch(93.29% 0.146 111)
XYZxyz(70.0085, 82.8422, 29.7514)
Luminance0.8284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF277 #7C77F2
analogous
#F2B977 #EDF277 #AFF277
triadic
#EDF277 #77EDF2 #F277ED
tetradic
#EDF277 #77F2B9 #7C77F2 #F277AF
square
#EDF277 #77F2B9 #7C77F2 #F277AF
split-complementary
#EDF277 #77AFF2 #B977F2
monochromatic
#D2DA15 #E6ED3F #EDF277 #F4F7AF #FBFCE3

Accessibility & contrast

On white

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

On black

17.57
#EDF277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF277
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF277#FFFFFF#000000##000000
##EDF2771.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96B
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#FBE5D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #edf277;
/* rgb */ color: rgb(237, 242, 119);
/* oklch */ color: oklch(93.3% 0.146 111.0);
Tailwind
colors: {
  custom: {
    50: '#f5f6a1',
    500: '#edf277',
    950: '#000000',
  },
}
SCSS
$custom: #edf277;
$custom-light: #f5f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#edf277",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 119
  },
  "hsl": {
    "h": 62.439,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93292,
    "c": 0.14629,
    "h": 111
  },
  "luminance": 0.82841
}

Semantic roles & 50–950 ramp

primary
#EDF277
secondary
#4741CC
accent
#07DF0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF277

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

Preview Lab → · Contrast checker → · Palette generator →

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