#ECF07E#ECF07E

#ECF07E is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.9% C 0.138 H 110.6°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#ECF07E
RGBrgb(236, 240, 126)
HSLhsl(62, 79%, 72%)
HSVhsv(62, 48%, 94%)
CMYKcmyk(1.7%, 0%, 47.5%, 5.9%)
CIE-LABlab(92.42, -16.85, 54.20)
CIE-LCHlch(92.42, 56.76, 107.27°)
OKLaboklab(92.88% -0.0484 0.1288)
OKLCHoklch(92.88% 0.138 110.6)
XYZxyz(69.5194, 81.6608, 31.8346)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF07E #827EF0
analogous
#F0BB7E #ECF07E #B3F07E
triadic
#ECF07E #7EECF0 #F07EEC
tetradic
#ECF07E #7EF0BB #827EF0 #F07EB3
square
#ECF07E #7EF0BB #827EF0 #F07EB3
split-complementary
#ECF07E #7EB3F0 #BB7EF0
monochromatic
#D3DA19 #E4EA47 #ECF07E #F4F6B5 #FBFCE4

Accessibility & contrast

On white

1.21
#ECF07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#ECF07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF07E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF07E#FFFFFF#000000##000000
##ECF07E1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE774
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#F9E4D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf07e;
/* rgb */ color: rgb(236, 240, 126);
/* oklch */ color: oklch(92.9% 0.138 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f4a6',
    500: '#ecf07e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf07e;
$custom-light: #f4f4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf07e",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 126
  },
  "hsl": {
    "h": 62.105,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92883,
    "c": 0.13754,
    "h": 110.6
  },
  "luminance": 0.81659
}

Semantic roles & 50–950 ramp

primary
#ECF07E
secondary
#4C48CA
accent
#0ADB11
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF07E

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

Preview Lab → · Contrast checker → · Palette generator →

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