#EBF974#EBF974

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

Color values

HEX#EBF974
RGBrgb(235, 249, 116)
HSLhsl(66, 92%, 72%)
HSVhsv(66, 53%, 98%)
CMYKcmyk(5.6%, 0%, 53.4%, 2.4%)
CIE-LABlab(94.60, -22.44, 61.28)
CIE-LCHlch(94.60, 65.26, 110.11°)
OKLaboklab(94.57% -0.0651 0.1433)
OKLCHoklch(94.57% 0.157 114.4)
XYZxyz(71.2903, 86.6756, 29.4942)
Luminance0.8667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF974 #8274F9
analogous
#F9C574 #EBF974 #A9F974
triadic
#EBF974 #74EBF9 #F974EB
tetradic
#EBF974 #74F9C5 #8274F9 #F974A9
square
#EBF974 #74F9C5 #8274F9 #F974A9
split-complementary
#EBF974 #74A9F9 #C574F9
monochromatic
#D1E90A #E3F639 #EBF974 #F3FCAF #FBFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBF974#FFFFFF#000000##000000
##EBF9741.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)
#FFEE67
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#F8ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf974;
/* rgb */ color: rgb(235, 249, 116);
/* oklch */ color: oklch(94.6% 0.157 114.4);
Tailwind
colors: {
  custom: {
    50: '#f4fba0',
    500: '#ebf974',
    950: '#000000',
  },
}
SCSS
$custom: #ebf974;
$custom-light: #f4fba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf974",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 66.316,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94568,
    "c": 0.15738,
    "h": 114.4
  },
  "luminance": 0.86674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBF974

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

Preview Lab → · Contrast checker → · Palette generator →

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