#EDF152#EDF152

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

Color values

HEX#EDF152
RGBrgb(237, 241, 82)
HSLhsl(62, 85%, 63%)
HSVhsv(62, 66%, 95%)
CMYKcmyk(1.7%, 0%, 66%, 5.5%)
CIE-LABlab(92.37, -20.11, 72.88)
CIE-LCHlch(92.37, 75.61, 105.42°)
OKLaboklab(92.73% -0.062 0.1635)
OKLCHoklch(92.73% 0.175 110.8)
XYZxyz(67.9055, 81.5261, 20.1400)
Luminance0.8152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF152 #5652F1
analogous
#F1A552 #EDF152 #9EF152
triadic
#EDF152 #52EDF1 #F152ED
tetradic
#EDF152 #52F1A5 #5652F1 #F1529E
square
#EDF152 #52F1A5 #5652F1 #F1529E
split-complementary
#EDF152 #529EF1 #A552F1
monochromatic
#B5BA0F #E7EC19 #EDF152 #F3F68B #F9FAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDF152#FFFFFF#000000##000000
##EDF1521.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)
#FFE73B
Deuteranopia (green-blind)
#FFEB5D
Tritanopia (blue-blind)
#FDE3D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #edf152;
/* rgb */ color: rgb(237, 241, 82);
/* oklch */ color: oklch(92.7% 0.175 110.8);
Tailwind
colors: {
  custom: {
    50: '#f6f58b',
    500: '#edf152',
    950: '#000000',
  },
}
SCSS
$custom: #edf152;
$custom-light: #f6f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#edf152",
  "rgb": {
    "r": 237,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 61.509,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92726,
    "c": 0.17491,
    "h": 110.8
  },
  "luminance": 0.81524
}

Semantic roles & 50–950 ramp

primary
#EDF152
secondary
#322FB8
accent
#04E20A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #EDF152

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

Preview Lab → · Contrast checker → · Palette generator →

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