#EBF197#EBF197

#EBF197 is a very light, moderate yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.113 H 111.7°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#EBF197
RGBrgb(235, 241, 151)
HSLhsl(64, 76%, 77%)
HSVhsv(64, 37%, 95%)
CMYKcmyk(2.5%, 0%, 37.3%, 5.5%)
CIE-LABlab(92.93, -15.21, 42.80)
CIE-LCHlch(92.93, 45.43, 109.56°)
OKLaboklab(93.37% -0.0416 0.1048)
OKLCHoklch(93.37% 0.113 111.7)
XYZxyz(71.3028, 82.8082, 41.4996)
Luminance0.8281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF197 #9D97F1
analogous
#F1CA97 #EBF197 #BEF197
triadic
#EBF197 #97EBF1 #F197EB
tetradic
#EBF197 #97F1CA #9D97F1 #F197BE
square
#EBF197 #97F1CA #9D97F1 #F197BE
split-complementary
#EBF197 #97BEF1 #CA97F1
monochromatic
#D6E22B #E1EA61 #EBF197 #F5F8CD #FAFBE4

Accessibility & contrast

On white

1.20
#EBF197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#EBF197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF197
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF197#FFFFFF#000000##000000
##EBF1971.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE990
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#F6E7DB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ebf197;
/* rgb */ color: rgb(235, 241, 151);
/* oklch */ color: oklch(93.4% 0.113 111.7);
Tailwind
colors: {
  custom: {
    50: '#f2f5b6',
    500: '#ebf197',
    950: '#000000',
  },
}
SCSS
$custom: #ebf197;
$custom-light: #f2f5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf197",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 151
  },
  "hsl": {
    "h": 64,
    "s": 76.271,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93371,
    "c": 0.11271,
    "h": 111.7
  },
  "luminance": 0.82807
}

Semantic roles & 50–950 ramp

primary
#EBF197
secondary
#665ECE
accent
#0DD81B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF197

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

Preview Lab → · Contrast checker → · Palette generator →

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