#ECF197#ECF197

#ECF197 is a very light, moderate yellow. Relative luminance 0.830; OKLCH L 93.4% C 0.113 H 111.1°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#ECF197
RGBrgb(236, 241, 151)
HSLhsl(63, 76%, 77%)
HSVhsv(63, 37%, 95%)
CMYKcmyk(2.1%, 0%, 37.3%, 5.5%)
CIE-LABlab(93.01, -14.83, 42.91)
CIE-LCHlch(93.01, 45.40, 109.06°)
OKLaboklab(93.45% -0.0405 0.105)
OKLCHoklch(93.45% 0.113 111.1)
XYZxyz(71.6340, 82.9790, 41.5151)
Luminance0.8298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF197 #9C97F1
analogous
#F1C997 #ECF197 #BFF197
triadic
#ECF197 #97ECF1 #F197EC
tetradic
#ECF197 #97F1C9 #9C97F1 #F197BF
square
#ECF197 #97F1C9 #9C97F1 #F197BF
split-complementary
#ECF197 #97BFF1 #C997F1
monochromatic
#D8E22B #E2EA61 #ECF197 #F6F8CD #FAFBE4

Accessibility & contrast

On white

1.19
#ECF197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.60
#ECF197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF197
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF197#FFFFFF#000000##000000
##ECF1971.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE990
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#F7E7DB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf197;
/* rgb */ color: rgb(236, 241, 151);
/* oklch */ color: oklch(93.4% 0.113 111.1);
Tailwind
colors: {
  custom: {
    50: '#f3f5b6',
    500: '#ecf197',
    950: '#000000',
  },
}
SCSS
$custom: #ecf197;
$custom-light: #f3f5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf197",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 151
  },
  "hsl": {
    "h": 63.333,
    "s": 76.271,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93449,
    "c": 0.11257,
    "h": 111.1
  },
  "luminance": 0.82978
}

Semantic roles & 50–950 ramp

primary
#ECF197
secondary
#645ECE
accent
#0DD818
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF197

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

Preview Lab → · Contrast checker → · Palette generator →

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