#EDF261#EDF261

#EDF261 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.1% C 0.165 H 111.1°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#EDF261
RGBrgb(237, 242, 97)
HSLhsl(62, 85%, 66%)
HSVhsv(62, 60%, 95%)
CMYKcmyk(2.1%, 0%, 59.9%, 5.1%)
CIE-LABlab(92.74, -19.69, 67.38)
CIE-LCHlch(92.74, 70.19, 106.29°)
OKLaboklab(93.06% -0.0594 0.1541)
OKLCHoklch(93.06% 0.165 111.1)
XYZxyz(68.8368, 82.3735, 23.5805)
Luminance0.8237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF261 #6661F2
analogous
#F2AF61 #EDF261 #A5F261
triadic
#EDF261 #61EDF2 #F261ED
tetradic
#EDF261 #61F2AF #6661F2 #F261A5
square
#EDF261 #61F2AF #6661F2 #F261A5
split-complementary
#EDF261 #61A5F2 #AF61F2
monochromatic
#C2C810 #E7ED28 #EDF261 #F3F79A #FAFBD2

Accessibility & contrast

On white

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

On black

17.47
#EDF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF261
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF261#FFFFFF#000000##000000
##EDF2611.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE850
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FCE4D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edf261;
/* rgb */ color: rgb(237, 242, 97);
/* oklch */ color: oklch(93.1% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#f6f694',
    500: '#edf261',
    950: '#000000',
  },
}
SCSS
$custom: #edf261;
$custom-light: #f6f694;
$custom-dark: #000000;
JSON
{
  "hex": "#edf261",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 62.069,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93061,
    "c": 0.16511,
    "h": 111.1
  },
  "luminance": 0.82372
}

Semantic roles & 50–950 ramp

primary
#EDF261
secondary
#3732C5
accent
#04E10C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF261

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

Preview Lab → · Contrast checker → · Palette generator →

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