#EBF172#EBF172

#EBF172 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.9% C 0.150 H 111.4°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#EBF172
RGBrgb(235, 241, 114)
HSLhsl(63, 82%, 70%)
HSVhsv(63, 53%, 95%)
CMYKcmyk(2.5%, 0%, 52.7%, 5.5%)
CIE-LABlab(92.48, -18.75, 59.73)
CIE-LCHlch(92.48, 62.61, 107.43°)
OKLaboklab(92.87% -0.0549 0.1397)
OKLCHoklch(92.87% 0.15 111.4)
XYZxyz(68.7550, 81.7891, 28.0813)
Luminance0.8179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF172 #7872F1
analogous
#F1B872 #EBF172 #ABF172
triadic
#EBF172 #72EBF1 #F172EB
tetradic
#EBF172 #72F1B8 #7872F1 #F172AB
square
#EBF172 #72F1B8 #7872F1 #F172AB
split-complementary
#EBF172 #72ABF1 #B872F1
monochromatic
#CBD415 #E3EB3A #EBF172 #F3F7AA #FBFCE1

Accessibility & contrast

On white

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

On black

17.36
#EBF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF172
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF172#FFFFFF#000000##000000
##EBF1721.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE865
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#F9E4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf172;
/* rgb */ color: rgb(235, 241, 114);
/* oklch */ color: oklch(92.9% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f59e',
    500: '#ebf172',
    950: '#000000',
  },
}
SCSS
$custom: #ebf172;
$custom-light: #f4f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf172",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 62.835,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92868,
    "c": 0.15013,
    "h": 111.4
  },
  "luminance": 0.81788
}

Semantic roles & 50–950 ramp

primary
#EBF172
secondary
#443DCA
accent
#07DE11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF172

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

Preview Lab → · Contrast checker → · Palette generator →

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