#EBF97C#EBF97C

#EBF97C is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.7% C 0.150 H 114.6°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#EBF97C
RGBrgb(235, 249, 124)
HSLhsl(67, 91%, 73%)
HSVhsv(67, 50%, 98%)
CMYKcmyk(5.6%, 0%, 50.2%, 2.4%)
CIE-LABlab(94.68, -21.76, 57.79)
CIE-LCHlch(94.68, 61.75, 110.63°)
OKLaboklab(94.66% -0.0624 0.1365)
OKLCHoklch(94.66% 0.15 114.6)
XYZxyz(71.7759, 86.8698, 32.0513)
Luminance0.8687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF97C #8A7CF9
analogous
#F9C87C #EBF97C #ACF97C
triadic
#EBF97C #7CEBF9 #F97CEB
tetradic
#EBF97C #7CF9C8 #8A7CF9 #F97CAC
square
#EBF97C #7CF9C8 #8A7CF9 #F97CAC
split-complementary
#EBF97C #7CACF9 #C87CF9
monochromatic
#D6F00B #E2F641 #EBF97C #F4FCB7 #FBFEE2

Accessibility & contrast

On white

1.14
#EBF97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#EBF97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF97C
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF97C#FFFFFF#000000##000000
##EBF97C1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF70
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#F7EDDD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf97c;
/* rgb */ color: rgb(235, 249, 124);
/* oklch */ color: oklch(94.7% 0.150 114.6);
Tailwind
colors: {
  custom: {
    50: '#f3fba5',
    500: '#ebf97c',
    950: '#000000',
  },
}
SCSS
$custom: #ebf97c;
$custom-light: #f3fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf97c",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 66.72,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9466,
    "c": 0.15007,
    "h": 114.6
  },
  "luminance": 0.86869
}

Semantic roles & 50–950 ramp

primary
#EBF97C
secondary
#5444D6
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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