#EDF262#EDF262

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

Color values

HEX#EDF262
RGBrgb(237, 242, 98)
HSLhsl(62, 85%, 67%)
HSVhsv(62, 60%, 95%)
CMYKcmyk(2.1%, 0%, 59.5%, 5.1%)
CIE-LABlab(92.75, -19.62, 66.97)
CIE-LCHlch(92.75, 69.79, 106.33°)
OKLaboklab(93.07% -0.0591 0.1533)
OKLCHoklch(93.07% 0.164 111.1)
XYZxyz(68.8837, 82.3923, 23.8276)
Luminance0.8239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF262 #6762F2
analogous
#F2AF62 #EDF262 #A5F262
triadic
#EDF262 #62EDF2 #F262ED
tetradic
#EDF262 #62F2AF #6762F2 #F262A5
square
#EDF262 #62F2AF #6762F2 #F262A5
split-complementary
#EDF262 #62A5F2 #AF62F2
monochromatic
#C3C911 #E7ED29 #EDF262 #F3F79B #FAFBD3

Accessibility & contrast

On white

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

On black

17.48
#EDF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF262
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF262#FFFFFF#000000##000000
##EDF2621.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFEC6B
Tritanopia (blue-blind)
#FCE4D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edf262;
/* rgb */ color: rgb(237, 242, 98);
/* oklch */ color: oklch(93.1% 0.164 111.1);
Tailwind
colors: {
  custom: {
    50: '#f6f694',
    500: '#edf262',
    950: '#000000',
  },
}
SCSS
$custom: #edf262;
$custom-light: #f6f694;
$custom-dark: #000000;
JSON
{
  "hex": "#edf262",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 62.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.9307,
    "c": 0.16432,
    "h": 111.1
  },
  "luminance": 0.82391
}

Semantic roles & 50–950 ramp

primary
#EDF262
secondary
#3833C6
accent
#04E10C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF262

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

Preview Lab → · Contrast checker → · Palette generator →

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