#ECF985#ECF985

#ECF985 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.141 H 114.4°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#ECF985
RGBrgb(236, 249, 133)
HSLhsl(67, 91%, 75%)
HSVhsv(67, 47%, 98%)
CMYKcmyk(5.2%, 0%, 46.6%, 2.4%)
CIE-LABlab(94.86, -20.56, 53.86)
CIE-LCHlch(94.86, 57.65, 110.89°)
OKLaboklab(94.85% -0.0583 0.1286)
OKLCHoklch(94.85% 0.141 114.4)
XYZxyz(72.7024, 87.2787, 35.2023)
Luminance0.8728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF985 #9285F9
analogous
#F9CC85 #ECF985 #B2F985
triadic
#ECF985 #85ECF9 #F985EC
tetradic
#ECF985 #85F9CC #9285F9 #F985B2
square
#ECF985 #85F9CC #9285F9 #F985B2
split-complementary
#ECF985 #85B2F9 #CC85F9
monochromatic
#DAF310 #E3F64B #ECF985 #F5FCBF #FAFEE2

Accessibility & contrast

On white

1.14
#ECF985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#ECF985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF985
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF985#FFFFFF#000000##000000
##ECF9851.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7B
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#F8EDDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf985;
/* rgb */ color: rgb(236, 249, 133);
/* oklch */ color: oklch(94.8% 0.141 114.4);
Tailwind
colors: {
  custom: {
    50: '#f4fbab',
    500: '#ecf985',
    950: '#000000',
  },
}
SCSS
$custom: #ecf985;
$custom-light: #f4fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf985",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 66.724,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94849,
    "c": 0.14115,
    "h": 114.4
  },
  "luminance": 0.87278
}

Semantic roles & 50–950 ramp

primary
#ECF985
secondary
#5B4BD7
accent
#00E61A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF985

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

Preview Lab → · Contrast checker → · Palette generator →

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