#EBF170#EBF170

#EBF170 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.8% C 0.152 H 111.4°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#EBF170
RGBrgb(235, 241, 112)
HSLhsl(63, 82%, 69%)
HSVhsv(63, 54%, 95%)
CMYKcmyk(2.5%, 0%, 53.5%, 5.5%)
CIE-LABlab(92.46, -18.91, 60.60)
CIE-LCHlch(92.46, 63.48, 107.33°)
OKLaboklab(92.85% -0.0555 0.1414)
OKLCHoklch(92.85% 0.152 111.4)
XYZxyz(68.6424, 81.7441, 27.4883)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF170 #7670F1
analogous
#F1B770 #EBF170 #ABF170
triadic
#EBF170 #70EBF1 #F170EB
tetradic
#EBF170 #70F1B7 #7670F1 #F170AB
square
#EBF170 #70F1B7 #7670F1 #F170AB
split-complementary
#EBF170 #70ABF1 #B770F1
monochromatic
#C9D215 #E3EC38 #EBF170 #F3F6A8 #FBFCDF

Accessibility & contrast

On white

1.21
#EBF170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#EBF170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF170
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF170#FFFFFF#000000##000000
##EBF1701.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#F9E4D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf170;
/* rgb */ color: rgb(235, 241, 112);
/* oklch */ color: oklch(92.8% 0.152 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f59d',
    500: '#ebf170',
    950: '#000000',
  },
}
SCSS
$custom: #ebf170;
$custom-light: #f4f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf170",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 62.791,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92846,
    "c": 0.15191,
    "h": 111.4
  },
  "luminance": 0.81743
}

Semantic roles & 50–950 ramp

primary
#EBF170
secondary
#423BCA
accent
#07DF11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF170

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

Preview Lab → · Contrast checker → · Palette generator →

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