#ECF956#ECF956

#ECF956 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.4% C 0.181 H 113.8°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#ECF956
RGBrgb(236, 249, 86)
HSLhsl(65, 93%, 66%)
HSVhsv(65, 65%, 98%)
CMYKcmyk(5.2%, 0%, 65.5%, 2.4%)
CIE-LABlab(94.42, -24.10, 73.46)
CIE-LCHlch(94.42, 77.31, 108.17°)
OKLaboklab(94.36% -0.0728 0.1654)
OKLCHoklch(94.36% 0.181 113.8)
XYZxyz(70.1494, 86.2575, 21.7563)
Luminance0.8626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF956 #6356F9
analogous
#F9B456 #ECF956 #9AF956
triadic
#ECF956 #56ECF9 #F956EC
tetradic
#ECF956 #56F9B4 #6356F9 #F9569A
square
#ECF956 #56F9B4 #6356F9 #F9569A
split-complementary
#ECF956 #569AF9 #B456F9
monochromatic
#BECD07 #E5F71B #ECF956 #F3FB91 #F9FDCC

Accessibility & contrast

On white

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

On black

18.25
#ECF956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF956
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF956#FFFFFF#000000##000000
##ECF9561.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED3F
Deuteranopia (green-blind)
#FFF162
Tritanopia (blue-blind)
#FBEBD8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf956;
/* rgb */ color: rgb(236, 249, 86);
/* oklch */ color: oklch(94.4% 0.181 113.8);
Tailwind
colors: {
  custom: {
    50: '#f6fb8e',
    500: '#ecf956',
    950: '#000000',
  },
}
SCSS
$custom: #ecf956;
$custom-light: #f6fb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf956",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 86
  },
  "hsl": {
    "h": 64.785,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94362,
    "c": 0.1807,
    "h": 113.8
  },
  "luminance": 0.86256
}

Semantic roles & 50–950 ramp

primary
#ECF956
secondary
#372AC9
accent
#00E612
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF956

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

Preview Lab → · Contrast checker → · Palette generator →

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