#EBF970#EBF970

#EBF970 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.161 H 114.4°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#EBF970
RGBrgb(235, 249, 112)
HSLhsl(66, 92%, 71%)
HSVhsv(66, 55%, 98%)
CMYKcmyk(5.6%, 0%, 55%, 2.4%)
CIE-LABlab(94.56, -22.75, 63.00)
CIE-LCHlch(94.56, 66.98, 109.86°)
OKLaboklab(94.52% -0.0664 0.1466)
OKLCHoklch(94.52% 0.161 114.4)
XYZxyz(71.0627, 86.5845, 28.2951)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF970 #7E70F9
analogous
#F9C270 #EBF970 #A6F970
triadic
#EBF970 #70EBF9 #F970EB
tetradic
#EBF970 #70F9C2 #7E70F9 #F970A6
square
#EBF970 #70F9C2 #7E70F9 #F970A6
split-complementary
#EBF970 #70A6F9 #C270F9
monochromatic
#CFE50A #E3F735 #EBF970 #F3FBAB #FBFEE2

Accessibility & contrast

On white

1.15
#EBF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#EBF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF970
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF970#FFFFFF#000000##000000
##EBF9701.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF178
Tritanopia (blue-blind)
#F8ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf970;
/* rgb */ color: rgb(235, 249, 112);
/* oklch */ color: oklch(94.5% 0.161 114.4);
Tailwind
colors: {
  custom: {
    50: '#f4fb9d',
    500: '#ebf970',
    950: '#000000',
  },
}
SCSS
$custom: #ebf970;
$custom-light: #f4fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf970",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 66.131,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94524,
    "c": 0.16089,
    "h": 114.4
  },
  "luminance": 0.86583
}

Semantic roles & 50–950 ramp

primary
#EBF970
secondary
#4939D4
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF970

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

Preview Lab → · Contrast checker → · Palette generator →

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