#ECF152#ECF152

#ECF152 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.6% C 0.175 H 111.1°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#ECF152
RGBrgb(236, 241, 82)
HSLhsl(62, 85%, 63%)
HSVhsv(62, 66%, 95%)
CMYKcmyk(2.1%, 0%, 66%, 5.5%)
CIE-LABlab(92.29, -20.51, 72.78)
CIE-LCHlch(92.29, 75.62, 105.74°)
OKLaboklab(92.65% -0.0631 0.1634)
OKLCHoklch(92.65% 0.175 111.1)
XYZxyz(67.5725, 81.3544, 20.1244)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF152 #5752F1
analogous
#F1A652 #ECF152 #9CF152
triadic
#ECF152 #52ECF1 #F152EC
tetradic
#ECF152 #52F1A6 #5752F1 #F1529C
square
#ECF152 #52F1A6 #5752F1 #F1529C
split-complementary
#ECF152 #529CF1 #A652F1
monochromatic
#B4BA0F #E6EC19 #ECF152 #F2F68B #F8FAC3

Accessibility & contrast

On white

1.22
#ECF152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#ECF152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF152
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF152#FFFFFF#000000##000000
##ECF1521.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE73B
Deuteranopia (green-blind)
#FFEB5D
Tritanopia (blue-blind)
#FCE3D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf152;
/* rgb */ color: rgb(236, 241, 82);
/* oklch */ color: oklch(92.6% 0.175 111.1);
Tailwind
colors: {
  custom: {
    50: '#f6f58b',
    500: '#ecf152',
    950: '#000000',
  },
}
SCSS
$custom: #ecf152;
$custom-light: #f6f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf152",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 61.887,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92647,
    "c": 0.17513,
    "h": 111.1
  },
  "luminance": 0.81353
}

Semantic roles & 50–950 ramp

primary
#ECF152
secondary
#332FB8
accent
#04E20B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECF152

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

Preview Lab → · Contrast checker → · Palette generator →

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