#ECF2AF#ECF2AF

#ECF2AF is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.086 H 112.2°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#ECF2AF
RGBrgb(236, 242, 175)
HSLhsl(65, 72%, 82%)
HSVhsv(65, 28%, 95%)
CMYKcmyk(2.5%, 0%, 27.7%, 5.1%)
CIE-LABlab(93.64, -12.43, 31.76)
CIE-LCHlch(93.64, 34.11, 111.38°)
OKLaboklab(94.08% -0.0325 0.0797)
OKLCHoklch(94.08% 0.086 112.2)
XYZxyz(74.0820, 84.4331, 52.9437)
Luminance0.8443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2AF #B5AFF2
analogous
#F2D7AF #ECF2AF #CBF2AF
triadic
#ECF2AF #AFECF2 #F2AFEC
tetradic
#ECF2AF #AFF2D7 #B5AFF2 #F2AFCB
square
#ECF2AF #AFF2D7 #B5AFF2 #F2AFCB
split-complementary
#ECF2AF #AFCBF2 #D7AFF2
monochromatic
#D3E146 #DFE97A #ECF2AF #F9FBE4 #F9FBE5

Accessibility & contrast

On white

1.17
#ECF2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#ECF2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2AF
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2AF#FFFFFF#000000##000000
##ECF2AF1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCECAB
Deuteranopia (green-blind)
#FCEEB2
Tritanopia (blue-blind)
#F4EAE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf2af;
/* rgb */ color: rgb(236, 242, 175);
/* oklch */ color: oklch(94.1% 0.086 112.2);
Tailwind
colors: {
  custom: {
    50: '#f2f6c7',
    500: '#ecf2af',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2af;
$custom-light: #f2f6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2af",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 175
  },
  "hsl": {
    "h": 65.373,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.94075,
    "c": 0.08608,
    "h": 112.2
  },
  "luminance": 0.84432
}

Semantic roles & 50–950 ramp

primary
#ECF2AF
secondary
#7C74D1
accent
#11D423
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #ECF2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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