#ECF262#ECF262

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

Color values

HEX#ECF262
RGBrgb(236, 242, 98)
HSLhsl(63, 85%, 67%)
HSVhsv(63, 60%, 95%)
CMYKcmyk(2.5%, 0%, 59.5%, 5.1%)
CIE-LABlab(92.67, -20.02, 66.87)
CIE-LCHlch(92.67, 69.80, 106.67°)
OKLaboklab(92.99% -0.0601 0.1531)
OKLCHoklch(92.99% 0.165 111.4)
XYZxyz(68.5507, 82.2205, 23.8120)
Luminance0.8222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF262 #6862F2
analogous
#F2B062 #ECF262 #A4F262
triadic
#ECF262 #62ECF2 #F262EC
tetradic
#ECF262 #62F2B0 #6862F2 #F262A4
square
#ECF262 #62F2B0 #6862F2 #F262A4
split-complementary
#ECF262 #62A4F2 #B062F2
monochromatic
#C1C911 #E5ED29 #ECF262 #F3F79B #FAFBD3

Accessibility & contrast

On white

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

On black

17.44
#ECF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF262
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF262#FFFFFF#000000##000000
##ECF2621.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFEC6B
Tritanopia (blue-blind)
#FBE4D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf262;
/* rgb */ color: rgb(236, 242, 98);
/* oklch */ color: oklch(93.0% 0.165 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f694',
    500: '#ecf262',
    950: '#000000',
  },
}
SCSS
$custom: #ecf262;
$custom-light: #f5f694;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf262",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 62.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92992,
    "c": 0.16453,
    "h": 111.4
  },
  "luminance": 0.82219
}

Semantic roles & 50–950 ramp

primary
#ECF262
secondary
#3933C6
accent
#04E10E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF262

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

Preview Lab → · Contrast checker → · Palette generator →

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