#ECF07F#ECF07F

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

Color values

HEX#ECF07F
RGBrgb(236, 240, 127)
HSLhsl(62, 79%, 72%)
HSVhsv(62, 47%, 94%)
CMYKcmyk(1.7%, 0%, 47.1%, 5.9%)
CIE-LABlab(92.44, -16.76, 53.74)
CIE-LCHlch(92.44, 56.30, 107.32°)
OKLaboklab(92.9% -0.048 0.1278)
OKLCHoklch(92.9% 0.137 110.6)
XYZxyz(69.5842, 81.6868, 32.1761)
Luminance0.8168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF07F #837FF0
analogous
#F0BC7F #ECF07F #B4F07F
triadic
#ECF07F #7FECF0 #F07FEC
tetradic
#ECF07F #7FF0BC #837FF0 #F07FB4
square
#ECF07F #7FF0BC #837FF0 #F07FB4
split-complementary
#ECF07F #7FB4F0 #BC7FF0
monochromatic
#D4DB1A #E4EA48 #ECF07F #F4F6B6 #FBFCE4

Accessibility & contrast

On white

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

On black

17.34
#ECF07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF07F
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF07F#FFFFFF#000000##000000
##ECF07F1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf07f;
/* rgb */ color: rgb(236, 240, 127);
/* oklch */ color: oklch(92.9% 0.137 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f4a6',
    500: '#ecf07f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf07f;
$custom-light: #f4f4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf07f",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 127
  },
  "hsl": {
    "h": 62.124,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92896,
    "c": 0.13656,
    "h": 110.6
  },
  "luminance": 0.81685
}

Semantic roles & 50–950 ramp

primary
#ECF07F
secondary
#4D49CB
accent
#0ADB12
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF07F

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

Preview Lab → · Contrast checker → · Palette generator →

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