#EBF397#EBF397

#EBF397 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.115 H 112.7°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#EBF397
RGBrgb(235, 243, 151)
HSLhsl(65, 79%, 77%)
HSVhsv(65, 38%, 95%)
CMYKcmyk(3.3%, 0%, 37.9%, 4.7%)
CIE-LABlab(93.45, -16.19, 43.47)
CIE-LCHlch(93.45, 46.38, 110.43°)
OKLaboklab(93.79% -0.0444 0.1063)
OKLCHoklch(93.79% 0.115 112.7)
XYZxyz(71.8981, 83.9987, 41.6980)
Luminance0.8400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF397 #9F97F3
analogous
#F3CD97 #EBF397 #BDF397
triadic
#EBF397 #97EBF3 #F397EB
tetradic
#EBF397 #97F3CD #9F97F3 #F397BD
square
#EBF397 #97F3CD #9F97F3 #F397BD
split-complementary
#EBF397 #97BDF3 #CD97F3
monochromatic
#D6E629 #E0ED60 #EBF397 #F6F9CE #FAFCE4

Accessibility & contrast

On white

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

On black

17.80
#EBF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF397
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF397#FFFFFF#000000##000000
##EBF3971.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB90
Deuteranopia (green-blind)
#FFED9B
Tritanopia (blue-blind)
#F6E9DC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ebf397;
/* rgb */ color: rgb(235, 243, 151);
/* oklch */ color: oklch(93.8% 0.115 112.7);
Tailwind
colors: {
  custom: {
    50: '#f2f7b7',
    500: '#ebf397',
    950: '#000000',
  },
}
SCSS
$custom: #ebf397;
$custom-light: #f2f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf397",
  "rgb": {
    "r": 235,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 65.217,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93785,
    "c": 0.11518,
    "h": 112.7
  },
  "luminance": 0.83998
}

Semantic roles & 50–950 ramp

primary
#EBF397
secondary
#675DD1
accent
#0ADC1C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF397

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

Preview Lab → · Contrast checker → · Palette generator →

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