#ECF592#ECF592

#ECF592 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.123 H 113.0°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#ECF592
RGBrgb(236, 245, 146)
HSLhsl(65, 83%, 77%)
HSVhsv(65, 40%, 96%)
CMYKcmyk(3.7%, 0%, 40.4%, 3.9%)
CIE-LABlab(93.98, -17.32, 46.59)
CIE-LCHlch(93.98, 49.70, 110.40°)
OKLaboklab(94.2% -0.048 0.1131)
OKLCHoklch(94.2% 0.123 113)
XYZxyz(72.4335, 85.2140, 39.8208)
Luminance0.8521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF592 #9B92F5
analogous
#F5CD92 #ECF592 #BBF592
triadic
#ECF592 #92ECF5 #F592EC
tetradic
#ECF592 #92F5CD #9B92F5 #F592BB
square
#ECF592 #92F5CD #9B92F5 #F592BB
split-complementary
#ECF592 #92BBF5 #CD92F5
monochromatic
#D8EB22 #E2F05A #ECF592 #F6FACA #FAFCE3

Accessibility & contrast

On white

1.16
#ECF592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#ECF592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF592
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF592#FFFFFF#000000##000000
##ECF5921.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8A
Deuteranopia (green-blind)
#FFEF97
Tritanopia (blue-blind)
#F7EADD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf592;
/* rgb */ color: rgb(236, 245, 146);
/* oklch */ color: oklch(94.2% 0.123 113.0);
Tailwind
colors: {
  custom: {
    50: '#f3f8b3',
    500: '#ecf592',
    950: '#000000',
  },
}
SCSS
$custom: #ecf592;
$custom-light: #f3f8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf592",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 146
  },
  "hsl": {
    "h": 65.455,
    "s": 83.193,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94199,
    "c": 0.12289,
    "h": 113
  },
  "luminance": 0.85213
}

Semantic roles & 50–950 ramp

primary
#ECF592
secondary
#6358D3
accent
#06E01A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF592

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

Preview Lab → · Contrast checker → · Palette generator →

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