#ECF697#ECF697

#ECF697 is a very light, moderate yellow. Relative luminance 0.860; OKLCH L 94.5% C 0.119 H 113.6°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#ECF697
RGBrgb(236, 246, 151)
HSLhsl(66, 84%, 78%)
HSVhsv(66, 39%, 96%)
CMYKcmyk(4.1%, 0%, 38.6%, 3.5%)
CIE-LABlab(94.30, -17.27, 44.57)
CIE-LCHlch(94.30, 47.80, 111.18°)
OKLaboklab(94.48% -0.0475 0.1088)
OKLCHoklch(94.48% 0.119 113.6)
XYZxyz(73.1343, 85.9797, 42.0152)
Luminance0.8598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF697 #A197F6
analogous
#F6D197 #ECF697 #BCF697
triadic
#ECF697 #97ECF6 #F697EC
tetradic
#ECF697 #97F6D1 #A197F6 #F697BC
square
#ECF697 #97F6D1 #A197F6 #F697BC
split-complementary
#ECF697 #97BCF6 #D197F6
monochromatic
#D7EC26 #E2F15F #ECF697 #F6FBCF #FAFDE3

Accessibility & contrast

On white

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

On black

18.20
#ECF697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF697
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF697#FFFFFF#000000##000000
##ECF6971.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf697;
/* rgb */ color: rgb(236, 246, 151);
/* oklch */ color: oklch(94.5% 0.119 113.6);
Tailwind
colors: {
  custom: {
    50: '#f3f9b7',
    500: '#ecf697',
    950: '#000000',
  },
}
SCSS
$custom: #ecf697;
$custom-light: #f3f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf697",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 66.316,
    "s": 84.071,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94483,
    "c": 0.11871,
    "h": 113.6
  },
  "luminance": 0.85979
}

Semantic roles & 50–950 ramp

primary
#ECF697
secondary
#695CD5
accent
#05E11C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF697

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

Preview Lab → · Contrast checker → · Palette generator →

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