#ECF270#ECF270

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

Color values

HEX#ECF270
RGBrgb(236, 242, 112)
HSLhsl(63, 83%, 69%)
HSVhsv(63, 54%, 95%)
CMYKcmyk(2.5%, 0%, 53.7%, 5.1%)
CIE-LABlab(92.80, -19.00, 61.01)
CIE-LCHlch(92.80, 63.90, 107.30°)
OKLaboklab(93.13% -0.0558 0.1423)
OKLCHoklch(93.13% 0.153 111.4)
XYZxyz(69.2704, 82.5084, 27.6028)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF270 #7670F2
analogous
#F2B770 #ECF270 #ABF270
triadic
#ECF270 #70ECF2 #F270EC
tetradic
#ECF270 #70F2B7 #7670F2 #F270AB
square
#ECF270 #70F2B7 #7670F2 #F270AB
split-complementary
#ECF270 #70ABF2 #B770F2
monochromatic
#CBD413 #E5ED38 #ECF270 #F3F7A8 #FBFCE0

Accessibility & contrast

On white

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

On black

17.50
#ECF270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF270
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF270#FFFFFF#000000##000000
##ECF2701.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf270;
/* rgb */ color: rgb(236, 242, 112);
/* oklch */ color: oklch(93.1% 0.153 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f69d',
    500: '#ecf270',
    950: '#000000',
  },
}
SCSS
$custom: #ecf270;
$custom-light: #f5f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf270",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 62.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93133,
    "c": 0.15283,
    "h": 111.4
  },
  "luminance": 0.82507
}

Semantic roles & 50–950 ramp

primary
#ECF270
secondary
#413BCB
accent
#06E010
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF270

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

Preview Lab → · Contrast checker → · Palette generator →

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