#EDF958#EDF958

#EDF958 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.5% C 0.179 H 113.4°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#EDF958
RGBrgb(237, 249, 88)
HSLhsl(64, 93%, 66%)
HSVhsv(64, 65%, 98%)
CMYKcmyk(4.8%, 0%, 64.7%, 2.4%)
CIE-LABlab(94.51, -23.59, 72.82)
CIE-LCHlch(94.51, 76.54, 107.95°)
OKLaboklab(94.46% -0.0712 0.1643)
OKLCHoklch(94.46% 0.179 113.4)
XYZxyz(70.5641, 86.4619, 22.2022)
Luminance0.8646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF958 #6458F9
analogous
#F9B458 #EDF958 #9CF958
triadic
#EDF958 #58EDF9 #F958ED
tetradic
#EDF958 #58F9B4 #6458F9 #F9589C
square
#EDF958 #58F9B4 #6458F9 #F9589C
split-complementary
#EDF958 #589CF9 #B458F9
monochromatic
#C0CF07 #E7F71D #EDF958 #F3FB93 #FAFDCE

Accessibility & contrast

On white

1.15
#EDF958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#EDF958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF958
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF958#FFFFFF#000000##000000
##EDF9581.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE42
Deuteranopia (green-blind)
#FFF163
Tritanopia (blue-blind)
#FCEBD8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf958;
/* rgb */ color: rgb(237, 249, 88);
/* oklch */ color: oklch(94.5% 0.179 113.4);
Tailwind
colors: {
  custom: {
    50: '#f6fb8f',
    500: '#edf958',
    950: '#000000',
  },
}
SCSS
$custom: #edf958;
$custom-light: #f6fb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#edf958",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 64.472,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94455,
    "c": 0.17908,
    "h": 113.4
  },
  "luminance": 0.8646
}

Semantic roles & 50–950 ramp

primary
#EDF958
secondary
#372BCA
accent
#00E611
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #EDF958

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

Preview Lab → · Contrast checker → · Palette generator →

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