#EDF258#EDF258

#EDF258 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.0% C 0.172 H 111.1°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#EDF258
RGBrgb(237, 242, 88)
HSLhsl(62, 86%, 65%)
HSVhsv(62, 64%, 95%)
CMYKcmyk(2.1%, 0%, 63.6%, 5.1%)
CIE-LABlab(92.67, -20.25, 70.91)
CIE-LCHlch(92.67, 73.74, 105.94°)
OKLaboklab(92.98% -0.0618 0.1603)
OKLCHoklch(92.98% 0.172 111.1)
XYZxyz(68.4407, 82.2151, 21.4944)
Luminance0.8221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF258 #5D58F2
analogous
#F2AA58 #EDF258 #A0F258
triadic
#EDF258 #58EDF2 #F258ED
tetradic
#EDF258 #58F2AA #5D58F2 #F258A0
square
#EDF258 #58F2AA #5D58F2 #F258A0
split-complementary
#EDF258 #58A0F2 #AA58F2
monochromatic
#BBC10F #E7EE1F #EDF258 #F3F691 #F9FBCA

Accessibility & contrast

On white

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

On black

17.44
#EDF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF258
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF258#FFFFFF#000000##000000
##EDF2581.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE843
Deuteranopia (green-blind)
#FFEC62
Tritanopia (blue-blind)
#FCE4D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edf258;
/* rgb */ color: rgb(237, 242, 88);
/* oklch */ color: oklch(93.0% 0.172 111.1);
Tailwind
colors: {
  custom: {
    50: '#f6f68e',
    500: '#edf258',
    950: '#000000',
  },
}
SCSS
$custom: #edf258;
$custom-light: #f6f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#edf258",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 61.948,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92983,
    "c": 0.1718,
    "h": 111.1
  },
  "luminance": 0.82213
}

Semantic roles & 50–950 ramp

primary
#EDF258
secondary
#3430BE
accent
#03E20B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #EDF258

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

Preview Lab → · Contrast checker → · Palette generator →

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