#EBF972#EBF972

#EBF972 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.159 H 114.4°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#EBF972
RGBrgb(235, 249, 114)
HSLhsl(66, 92%, 71%)
HSVhsv(66, 54%, 98%)
CMYKcmyk(5.6%, 0%, 54.2%, 2.4%)
CIE-LABlab(94.58, -22.60, 62.14)
CIE-LCHlch(94.58, 66.12, 109.98°)
OKLaboklab(94.55% -0.0658 0.1449)
OKLCHoklch(94.55% 0.159 114.4)
XYZxyz(71.1753, 86.6295, 28.8880)
Luminance0.8663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF972 #8072F9
analogous
#F9C372 #EBF972 #A7F972
triadic
#EBF972 #72EBF9 #F972EB
tetradic
#EBF972 #72F9C3 #8072F9 #F972A7
square
#EBF972 #72F9C3 #8072F9 #F972A7
split-complementary
#EBF972 #72A7F9 #C372F9
monochromatic
#D0E70A #E3F737 #EBF972 #F3FBAD #FBFEE2

Accessibility & contrast

On white

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

On black

18.33
#EBF972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF972
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF972#FFFFFF#000000##000000
##EBF9721.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE64
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#F8ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf972;
/* rgb */ color: rgb(235, 249, 114);
/* oklch */ color: oklch(94.5% 0.159 114.4);
Tailwind
colors: {
  custom: {
    50: '#f4fb9e',
    500: '#ebf972',
    950: '#000000',
  },
}
SCSS
$custom: #ebf972;
$custom-light: #f4fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf972",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 66.222,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94546,
    "c": 0.15915,
    "h": 114.4
  },
  "luminance": 0.86628
}

Semantic roles & 50–950 ramp

primary
#EBF972
secondary
#4B3BD4
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF972

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

Preview Lab → · Contrast checker → · Palette generator →

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