#ECF268#ECF268

#ECF268 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.0% C 0.160 H 111.4°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#ECF268
RGBrgb(236, 242, 104)
HSLhsl(63, 84%, 68%)
HSVhsv(63, 57%, 95%)
CMYKcmyk(2.5%, 0%, 57%, 5.1%)
CIE-LABlab(92.72, -19.60, 64.40)
CIE-LCHlch(92.72, 67.32, 106.93°)
OKLaboklab(93.05% -0.0583 0.1486)
OKLCHoklch(93.05% 0.16 111.4)
XYZxyz(68.8446, 82.3381, 25.3603)
Luminance0.8234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF268 #6E68F2
analogous
#F2B368 #ECF268 #A7F268
triadic
#ECF268 #68ECF2 #F268EC
tetradic
#ECF268 #68F2B3 #6E68F2 #F268A7
square
#ECF268 #68F2B3 #6E68F2 #F268A7
split-complementary
#ECF268 #68A7F2 #B368F2
monochromatic
#C6CE12 #E5ED30 #ECF268 #F3F7A0 #FAFCD9

Accessibility & contrast

On white

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

On black

17.47
#ECF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF268
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF268#FFFFFF#000000##000000
##ECF2681.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE859
Deuteranopia (green-blind)
#FFEC70
Tritanopia (blue-blind)
#FAE5D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf268;
/* rgb */ color: rgb(236, 242, 104);
/* oklch */ color: oklch(93.0% 0.160 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f698',
    500: '#ecf268',
    950: '#000000',
  },
}
SCSS
$custom: #ecf268;
$custom-light: #f5f698;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf268",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 62.609,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9305,
    "c": 0.15968,
    "h": 111.4
  },
  "luminance": 0.82337
}

Semantic roles & 50–950 ramp

primary
#ECF268
secondary
#3B34CA
accent
#05E10E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF268

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

Preview Lab → · Contrast checker → · Palette generator →

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