#EBF072#EBF072

#EBF072 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.7% C 0.149 H 111.0°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#EBF072
RGBrgb(235, 240, 114)
HSLhsl(62, 81%, 69%)
HSVhsv(62, 53%, 94%)
CMYKcmyk(2.1%, 0%, 52.5%, 5.9%)
CIE-LABlab(92.22, -18.27, 59.43)
CIE-LCHlch(92.22, 62.17, 107.09°)
OKLaboklab(92.66% -0.0535 0.1391)
OKLCHoklch(92.66% 0.149 111)
XYZxyz(68.4599, 81.1987, 27.9829)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF072 #7772F0
analogous
#F0B672 #EBF072 #ACF072
triadic
#EBF072 #72EBF0 #F072EB
tetradic
#EBF072 #72F0B6 #7772F0 #F072AC
square
#EBF072 #72F0B6 #7772F0 #F072AC
split-complementary
#EBF072 #72ACF0 #B672F0
monochromatic
#CAD116 #E3EA3B #EBF072 #F3F6A9 #FBFCE1

Accessibility & contrast

On white

1.22
#EBF072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#EBF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF072
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF072#FFFFFF#000000##000000
##EBF0721.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#F9E3D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf072;
/* rgb */ color: rgb(235, 240, 114);
/* oklch */ color: oklch(92.7% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f49e',
    500: '#ebf072',
    950: '#000000',
  },
}
SCSS
$custom: #ebf072;
$custom-light: #f4f49e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf072",
  "rgb": {
    "r": 235,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 62.381,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92659,
    "c": 0.14902,
    "h": 111
  },
  "luminance": 0.81197
}

Semantic roles & 50–950 ramp

primary
#EBF072
secondary
#433DC9
accent
#08DD11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF072

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

Preview Lab → · Contrast checker → · Palette generator →

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