#EDF272#EDF272

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

Color values

HEX#EDF272
RGBrgb(237, 242, 114)
HSLhsl(62, 83%, 70%)
HSVhsv(62, 53%, 95%)
CMYKcmyk(2.1%, 0%, 52.9%, 5.1%)
CIE-LABlab(92.89, -18.45, 60.25)
CIE-LCHlch(92.89, 63.01, 107.03°)
OKLaboklab(93.23% -0.0541 0.1408)
OKLCHoklch(93.23% 0.151 111)
XYZxyz(69.7160, 82.7252, 28.2114)
Luminance0.8272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF272 #7772F2
analogous
#F2B772 #EDF272 #ADF272
triadic
#EDF272 #72EDF2 #F272ED
tetradic
#EDF272 #72F2B7 #7772F2 #F272AD
square
#EDF272 #72F2B7 #7772F2 #F272AD
split-complementary
#EDF272 #72ADF2 #B772F2
monochromatic
#CED614 #E6ED3A #EDF272 #F4F7AA #FBFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDF272#FFFFFF#000000##000000
##EDF2721.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)
#FFE965
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#FBE5D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #edf272;
/* rgb */ color: rgb(237, 242, 114);
/* oklch */ color: oklch(93.2% 0.151 111.0);
Tailwind
colors: {
  custom: {
    50: '#f5f69e',
    500: '#edf272',
    950: '#000000',
  },
}
SCSS
$custom: #edf272;
$custom-light: #f5f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#edf272",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 62.344,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93234,
    "c": 0.15086,
    "h": 111
  },
  "luminance": 0.82724
}

Semantic roles & 50–950 ramp

primary
#EDF272
secondary
#423DCC
accent
#06E00E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF272

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

Preview Lab → · Contrast checker → · Palette generator →

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