#ECF792#ECF792

#ECF792 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.125 H 113.9°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#ECF792
RGBrgb(236, 247, 146)
HSLhsl(67, 86%, 77%)
HSVhsv(67, 41%, 97%)
CMYKcmyk(4.5%, 0%, 40.9%, 3.1%)
CIE-LABlab(94.50, -18.30, 47.24)
CIE-LCHlch(94.50, 50.66, 111.17°)
OKLaboklab(94.62% -0.0508 0.1146)
OKLCHoklch(94.62% 0.125 113.9)
XYZxyz(73.0419, 86.4307, 40.0235)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF792 #9D92F7
analogous
#F7D092 #ECF792 #B9F792
triadic
#ECF792 #92ECF7 #F792EC
tetradic
#ECF792 #92F7D0 #9D92F7 #F792B9
square
#ECF792 #92F7D0 #9D92F7 #F792B9
split-complementary
#ECF792 #92B9F7 #D092F7
monochromatic
#D8EF20 #E2F359 #ECF792 #F6FBCB #FAFDE2

Accessibility & contrast

On white

1.15
#ECF792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#ECF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF792
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF792#FFFFFF#000000##000000
##ECF7921.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8A
Deuteranopia (green-blind)
#FFF097
Tritanopia (blue-blind)
#F7ECDF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf792;
/* rgb */ color: rgb(236, 247, 146);
/* oklch */ color: oklch(94.6% 0.125 113.9);
Tailwind
colors: {
  custom: {
    50: '#f3f9b3',
    500: '#ecf792',
    950: '#000000',
  },
}
SCSS
$custom: #ecf792;
$custom-light: #f3f9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf792",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 66.535,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94615,
    "c": 0.12535,
    "h": 113.9
  },
  "luminance": 0.8643
}

Semantic roles & 50–950 ramp

primary
#ECF792
secondary
#6558D6
accent
#03E31B
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF792

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

Preview Lab → · Contrast checker → · Palette generator →

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