#EBF874#EBF874

#EBF874 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.4% C 0.156 H 114.1°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#EBF874
RGBrgb(235, 248, 116)
HSLhsl(66, 90%, 71%)
HSVhsv(66, 53%, 97%)
CMYKcmyk(5.2%, 0%, 53.2%, 2.7%)
CIE-LABlab(94.34, -21.96, 60.98)
CIE-LCHlch(94.34, 64.81, 109.80°)
OKLaboklab(94.36% -0.0638 0.1426)
OKLCHoklch(94.36% 0.156 114.1)
XYZxyz(70.9821, 86.0591, 29.3914)
Luminance0.8606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF874 #8174F8
analogous
#F8C374 #EBF874 #A9F874
triadic
#EBF874 #74EBF8 #F874EB
tetradic
#EBF874 #74F8C3 #8174F8 #F874A9
square
#EBF874 #74F8C3 #8174F8 #F874A9
split-complementary
#EBF874 #74A9F8 #C374F8
monochromatic
#D1E60C #E3F53A #EBF874 #F3FBAE #FBFEE2

Accessibility & contrast

On white

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

On black

18.21
#EBF874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF874
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF874#FFFFFF#000000##000000
##EBF8741.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#F8EBDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf874;
/* rgb */ color: rgb(235, 248, 116);
/* oklch */ color: oklch(94.4% 0.156 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4faa0',
    500: '#ebf874',
    950: '#000000',
  },
}
SCSS
$custom: #ebf874;
$custom-light: #f4faa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf874",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 116
  },
  "hsl": {
    "h": 65.909,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94357,
    "c": 0.15623,
    "h": 114.1
  },
  "luminance": 0.86058
}

Semantic roles & 50–950 ramp

primary
#EBF874
secondary
#4C3DD3
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF874

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

Preview Lab → · Contrast checker → · Palette generator →

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