#EDF57B#EDF57B

#EDF57B is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.0% C 0.146 H 112.2°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#EDF57B
RGBrgb(237, 245, 123)
HSLhsl(64, 86%, 72%)
HSVhsv(64, 50%, 96%)
CMYKcmyk(3.3%, 0%, 49.8%, 3.9%)
CIE-LABlab(93.77, -19.15, 57.20)
CIE-LCHlch(93.77, 60.33, 108.51°)
OKLaboklab(93.97% -0.0552 0.1351)
OKLCHoklch(93.97% 0.146 112.2)
XYZxyz(71.1540, 84.7407, 31.3434)
Luminance0.8474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF57B #837BF5
analogous
#F5C07B #EDF57B #B0F57B
triadic
#EDF57B #7BEDF5 #F57BED
tetradic
#EDF57B #7BF5C0 #837BF5 #F57BB0
square
#EDF57B #7BF5C0 #837BF5 #F57BB0
split-complementary
#EDF57B #7BB0F5 #C07BF5
monochromatic
#D6E411 #E5F142 #EDF57B #F5F9B4 #FBFDE3

Accessibility & contrast

On white

1.17
#EDF57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#EDF57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF57B
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF57B#FFFFFF#000000##000000
##EDF57B1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB70
Deuteranopia (green-blind)
#FFEF81
Tritanopia (blue-blind)
#FAE9D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #edf57b;
/* rgb */ color: rgb(237, 245, 123);
/* oklch */ color: oklch(94.0% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#f5f8a4',
    500: '#edf57b',
    950: '#000000',
  },
}
SCSS
$custom: #edf57b;
$custom-light: #f5f8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#edf57b",
  "rgb": {
    "r": 237,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 63.934,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93965,
    "c": 0.14593,
    "h": 112.2
  },
  "luminance": 0.84739
}

Semantic roles & 50–950 ramp

primary
#EDF57B
secondary
#4D44D0
accent
#03E212
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF57B

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

Preview Lab → · Contrast checker → · Palette generator →

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