#EBF772#EBF772

#EBF772 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.1% C 0.157 H 113.7°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#EBF772
RGBrgb(235, 247, 114)
HSLhsl(65, 89%, 71%)
HSVhsv(65, 54%, 97%)
CMYKcmyk(4.9%, 0%, 53.8%, 3.1%)
CIE-LABlab(94.06, -21.64, 61.54)
CIE-LCHlch(94.06, 65.24, 109.37°)
OKLaboklab(94.13% -0.0631 0.1436)
OKLCHoklch(94.13% 0.157 113.7)
XYZxyz(70.5604, 85.3998, 28.6831)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF772 #7E72F7
analogous
#F7C172 #EBF772 #A8F772
triadic
#EBF772 #72EBF7 #F772EB
tetradic
#EBF772 #72F7C1 #7E72F7 #F772A8
square
#EBF772 #72F7C1 #7E72F7 #F772A8
split-complementary
#EBF772 #72A8F7 #C172F7
monochromatic
#CFE20D #E3F438 #EBF772 #F3FAAC #FBFDE2

Accessibility & contrast

On white

1.16
#EBF772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#EBF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF772
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF772#FFFFFF#000000##000000
##EBF7721.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED65
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#F8EADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ebf772;
/* rgb */ color: rgb(235, 247, 114);
/* oklch */ color: oklch(94.1% 0.157 113.7);
Tailwind
colors: {
  custom: {
    50: '#f4f99e',
    500: '#ebf772',
    950: '#000000',
  },
}
SCSS
$custom: #ebf772;
$custom-light: #f4f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf772",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 65.414,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94125,
    "c": 0.15686,
    "h": 113.7
  },
  "luminance": 0.85399
}

Semantic roles & 50–950 ramp

primary
#EBF772
secondary
#493BD2
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF772

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

Preview Lab → · Contrast checker → · Palette generator →

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