#EDF151#EDF151

#EDF151 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.176 H 110.8°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#EDF151
RGBrgb(237, 241, 81)
HSLhsl(62, 85%, 63%)
HSVhsv(62, 66%, 95%)
CMYKcmyk(1.7%, 0%, 66.4%, 5.5%)
CIE-LABlab(92.36, -20.16, 73.25)
CIE-LCHlch(92.36, 75.97, 105.39°)
OKLaboklab(92.72% -0.0623 0.1642)
OKLCHoklch(92.72% 0.176 110.8)
XYZxyz(67.8677, 81.5110, 19.9411)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF151 #5551F1
analogous
#F1A551 #EDF151 #9DF151
triadic
#EDF151 #51EDF1 #F151ED
tetradic
#EDF151 #51F1A5 #5551F1 #F1519D
square
#EDF151 #51F1A5 #5551F1 #F1519D
split-complementary
#EDF151 #519DF1 #A551F1
monochromatic
#B4B90F #E7EC18 #EDF151 #F3F68A #F9FAC2

Accessibility & contrast

On white

1.21
#EDF151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#EDF151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF151
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF151#FFFFFF#000000##000000
##EDF1511.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE739
Deuteranopia (green-blind)
#FFEB5C
Tritanopia (blue-blind)
#FDE3D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #edf151;
/* rgb */ color: rgb(237, 241, 81);
/* oklch */ color: oklch(92.7% 0.176 110.8);
Tailwind
colors: {
  custom: {
    50: '#f6f58a',
    500: '#edf151',
    950: '#000000',
  },
}
SCSS
$custom: #edf151;
$custom-light: #f6f58a;
$custom-dark: #000000;
JSON
{
  "hex": "#edf151",
  "rgb": {
    "r": 237,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 61.5,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.92719,
    "c": 0.17558,
    "h": 110.8
  },
  "luminance": 0.81509
}

Semantic roles & 50–950 ramp

primary
#EDF151
secondary
#322FB8
accent
#04E209
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #EDF151

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

Preview Lab → · Contrast checker → · Palette generator →

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