#EBF381#EBF381

#EBF381 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.138 H 112.3°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#EBF381
RGBrgb(235, 243, 129)
HSLhsl(64, 83%, 73%)
HSVhsv(64, 47%, 95%)
CMYKcmyk(3.3%, 0%, 46.9%, 4.7%)
CIE-LABlab(93.17, -18.42, 53.67)
CIE-LCHlch(93.17, 56.75, 108.95°)
OKLaboklab(93.47% -0.0525 0.1279)
OKLCHoklch(93.47% 0.138 112.3)
XYZxyz(70.2752, 83.3496, 33.1507)
Luminance0.8335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF381 #8981F3
analogous
#F3C281 #EBF381 #B2F381
triadic
#EBF381 #81EBF3 #F381EB
tetradic
#EBF381 #81F3C2 #8981F3 #F381B2
square
#EBF381 #81F3C2 #8981F3 #F381B2
split-complementary
#EBF381 #81B2F3 #C281F3
monochromatic
#D5E416 #E2EE49 #EBF381 #F4F8B9 #FBFCE3

Accessibility & contrast

On white

1.19
#EBF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#EBF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF381
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF381#FFFFFF#000000##000000
##EBF3811.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FFED87
Tritanopia (blue-blind)
#F8E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ebf381;
/* rgb */ color: rgb(235, 243, 129);
/* oklch */ color: oklch(93.5% 0.138 112.3);
Tailwind
colors: {
  custom: {
    50: '#f3f7a8',
    500: '#ebf381',
    950: '#000000',
  },
}
SCSS
$custom: #ebf381;
$custom-light: #f3f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf381",
  "rgb": {
    "r": 235,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 64.211,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93468,
    "c": 0.13821,
    "h": 112.3
  },
  "luminance": 0.83348
}

Semantic roles & 50–950 ramp

primary
#EBF381
secondary
#534ACF
accent
#06DF16
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF381

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

Preview Lab → · Contrast checker → · Palette generator →

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