#ECFB68#ECFB68

#ECFB68 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 94.9% C 0.170 H 114.6°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#ECFB68
RGBrgb(236, 251, 104)
HSLhsl(66, 95%, 70%)
HSVhsv(66, 59%, 98%)
CMYKcmyk(6%, 0%, 58.6%, 1.6%)
CIE-LABlab(95.09, -23.90, 67.02)
CIE-LCHlch(95.09, 71.15, 109.63°)
OKLaboklab(94.94% -0.0705 0.1542)
OKLCHoklch(94.94% 0.17 114.6)
XYZxyz(71.5895, 87.8279, 26.2752)
Luminance0.8783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB68 #7768FB
analogous
#FBC068 #ECFB68 #A3FB68
triadic
#ECFB68 #68ECFB #FB68EC
tetradic
#ECFB68 #68FBC0 #7768FB #FB68A3
square
#ECFB68 #68FBC0 #7768FB #FB68A3
split-complementary
#ECFB68 #68A3FB #C068FB
monochromatic
#CCE306 #E4F92C #ECFB68 #F4FDA4 #FBFEDF

Accessibility & contrast

On white

1.13
#ECFB68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.57
#ECFB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB68
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB68#FFFFFF#000000##000000
##ECFB681.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF057
Deuteranopia (green-blind)
#FFF271
Tritanopia (blue-blind)
#FAEEDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb68;
/* rgb */ color: rgb(236, 251, 104);
/* oklch */ color: oklch(94.9% 0.170 114.6);
Tailwind
colors: {
  custom: {
    50: '#f5fc98',
    500: '#ecfb68',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb68;
$custom-light: #f5fc98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb68",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 104
  },
  "hsl": {
    "h": 66.122,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9494,
    "c": 0.16955,
    "h": 114.6
  },
  "luminance": 0.87827
}

Semantic roles & 50–950 ramp

primary
#ECFB68
secondary
#4232D6
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFB68

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

Preview Lab → · Contrast checker → · Palette generator →

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