#EDF270#EDF270

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

Color values

HEX#EDF270
RGBrgb(237, 242, 112)
HSLhsl(62, 83%, 69%)
HSVhsv(62, 54%, 95%)
CMYKcmyk(2.1%, 0%, 53.7%, 5.1%)
CIE-LABlab(92.87, -18.61, 61.11)
CIE-LCHlch(92.87, 63.88, 106.93°)
OKLaboklab(93.21% -0.0548 0.1425)
OKLCHoklch(93.21% 0.153 111)
XYZxyz(69.6035, 82.6802, 27.6184)
Luminance0.8268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF270 #7570F2
analogous
#F2B670 #EDF270 #ACF270
triadic
#EDF270 #70EDF2 #F270ED
tetradic
#EDF270 #70F2B6 #7570F2 #F270AC
square
#EDF270 #70F2B6 #7570F2 #F270AC
split-complementary
#EDF270 #70ACF2 #B670F2
monochromatic
#CDD413 #E6ED38 #EDF270 #F4F7A8 #FBFCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDF270#FFFFFF#000000##000000
##EDF2701.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)
#FFE963
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#FBE5D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #edf270;
/* rgb */ color: rgb(237, 242, 112);
/* oklch */ color: oklch(93.2% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#f5f69d',
    500: '#edf270',
    950: '#000000',
  },
}
SCSS
$custom: #edf270;
$custom-light: #f5f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#edf270",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 62.308,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93212,
    "c": 0.15264,
    "h": 111
  },
  "luminance": 0.82679
}

Semantic roles & 50–950 ramp

primary
#EDF270
secondary
#403BCB
accent
#06E00E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF270

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

Preview Lab → · Contrast checker → · Palette generator →

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