#EBF56C#EBF56C

#EBF56C is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.6% C 0.160 H 112.9°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#EBF56C
RGBrgb(235, 245, 108)
HSLhsl(64, 87%, 69%)
HSVhsv(64, 56%, 96%)
CMYKcmyk(4.1%, 0%, 55.9%, 3.9%)
CIE-LABlab(93.47, -21.15, 63.50)
CIE-LCHlch(93.47, 66.93, 108.42°)
OKLaboklab(93.64% -0.0623 0.1472)
OKLCHoklch(93.64% 0.16 112.9)
XYZxyz(69.6217, 84.0510, 26.7403)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF56C #766CF5
analogous
#F5BB6C #EBF56C #A6F56C
triadic
#EBF56C #6CEBF5 #F56CEB
tetradic
#EBF56C #6CF5BB #766CF5 #F56CA6
square
#EBF56C #6CF5BB #766CF5 #F56CA6
split-complementary
#EBF56C #6CA6F5 #BB6CF5
monochromatic
#C9D80F #E3F133 #EBF56C #F3F9A5 #FBFDDF

Accessibility & contrast

On white

1.18
#EBF56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#EBF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF56C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF56C#FFFFFF#000000##000000
##EBF56C1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFEE74
Tritanopia (blue-blind)
#F9E8D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ebf56c;
/* rgb */ color: rgb(235, 245, 108);
/* oklch */ color: oklch(93.6% 0.160 112.9);
Tailwind
colors: {
  custom: {
    50: '#f4f89a',
    500: '#ebf56c',
    950: '#000000',
  },
}
SCSS
$custom: #ebf56c;
$custom-light: #f4f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf56c",
  "rgb": {
    "r": 235,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 64.38,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93641,
    "c": 0.15982,
    "h": 112.9
  },
  "luminance": 0.8405
}

Semantic roles & 50–950 ramp

primary
#EBF56C
secondary
#4237CF
accent
#02E412
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EBF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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