#ECF07C#ECF07C

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

Color values

HEX#ECF07C
RGBrgb(236, 240, 124)
HSLhsl(62, 79%, 71%)
HSVhsv(62, 48%, 94%)
CMYKcmyk(1.7%, 0%, 48.3%, 5.9%)
CIE-LABlab(92.40, -17.03, 55.10)
CIE-LCHlch(92.40, 57.67, 107.17°)
OKLaboklab(92.86% -0.0491 0.1306)
OKLCHoklch(92.86% 0.139 110.6)
XYZxyz(69.3916, 81.6097, 31.1617)
Luminance0.8161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF07C #807CF0
analogous
#F0BA7C #ECF07C #B2F07C
triadic
#ECF07C #7CECF0 #F07CEC
tetradic
#ECF07C #7CF0BA #807CF0 #F07CB2
square
#ECF07C #7CF0BA #807CF0 #F07CB2
split-complementary
#ECF07C #7CB2F0 #BA7CF0
monochromatic
#D2D919 #E4EA45 #ECF07C #F4F6B3 #FBFCE4

Accessibility & contrast

On white

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

On black

17.32
#ECF07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF07C
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF07C#FFFFFF#000000##000000
##ECF07C1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE772
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#F9E4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf07c;
/* rgb */ color: rgb(236, 240, 124);
/* oklch */ color: oklch(92.9% 0.139 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f4a4',
    500: '#ecf07c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf07c;
$custom-light: #f4f4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf07c",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 62.069,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92858,
    "c": 0.13949,
    "h": 110.6
  },
  "luminance": 0.81608
}

Semantic roles & 50–950 ramp

primary
#ECF07C
secondary
#4B46CA
accent
#0ADC11
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF07C

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

Preview Lab → · Contrast checker → · Palette generator →

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