#ECF26B#ECF26B

#ECF26B is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.1% C 0.157 H 111.4°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#ECF26B
RGBrgb(236, 242, 107)
HSLhsl(63, 84%, 68%)
HSVhsv(63, 56%, 95%)
CMYKcmyk(2.5%, 0%, 55.8%, 5.1%)
CIE-LABlab(92.75, -19.38, 63.14)
CIE-LCHlch(92.75, 66.05, 107.07°)
OKLaboklab(93.08% -0.0574 0.1463)
OKLCHoklch(93.08% 0.157 111.4)
XYZxyz(68.9997, 82.4002, 26.1771)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF26B #716BF2
analogous
#F2B46B #ECF26B #A8F26B
triadic
#ECF26B #6BECF2 #F26BEC
tetradic
#ECF26B #6BF2B4 #716BF2 #F26BA8
square
#ECF26B #6BF2B4 #716BF2 #F26BA8
split-complementary
#ECF26B #6BA8F2 #B46BF2
monochromatic
#C8D012 #E5ED33 #ECF26B #F3F7A3 #FAFCDC

Accessibility & contrast

On white

1.20
#ECF26B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#ECF26B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF26B
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF26B#FFFFFF#000000##000000
##ECF26B1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85D
Deuteranopia (green-blind)
#FFEC73
Tritanopia (blue-blind)
#FAE5D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf26b;
/* rgb */ color: rgb(236, 242, 107);
/* oklch */ color: oklch(93.1% 0.157 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f69a',
    500: '#ecf26b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf26b;
$custom-light: #f5f69a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf26b",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 107
  },
  "hsl": {
    "h": 62.667,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.9308,
    "c": 0.15716,
    "h": 111.4
  },
  "luminance": 0.82399
}

Semantic roles & 50–950 ramp

primary
#ECF26B
secondary
#3D36CB
accent
#05E00F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF26B

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

Preview Lab → · Contrast checker → · Palette generator →

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