#ECF68F#ECF68F

#ECF68F is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.127 H 113.4°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#ECF68F
RGBrgb(236, 246, 143)
HSLhsl(66, 85%, 76%)
HSVhsv(66, 42%, 96%)
CMYKcmyk(4.1%, 0%, 41.9%, 3.5%)
CIE-LABlab(94.20, -18.12, 48.31)
CIE-LCHlch(94.20, 51.60, 110.56°)
OKLaboklab(94.36% -0.0505 0.1168)
OKLCHoklch(94.36% 0.127 113.4)
XYZxyz(72.5066, 85.7286, 38.7089)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF68F #998FF6
analogous
#F6CD8F #ECF68F #B9F68F
triadic
#ECF68F #8FECF6 #F68FEC
tetradic
#ECF68F #8FF6CD #998FF6 #F68FB9
square
#ECF68F #8FF6CD #998FF6 #F68FB9
split-complementary
#ECF68F #8FB9F6 #CD8FF6
monochromatic
#D9ED1E #E2F156 #ECF68F #F6FBC8 #FAFDE3

Accessibility & contrast

On white

1.16
#ECF68F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#ECF68F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF68F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF68F#FFFFFF#000000##000000
##ECF68F1.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED87
Deuteranopia (green-blind)
#FFF094
Tritanopia (blue-blind)
#F7EBDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf68f;
/* rgb */ color: rgb(236, 246, 143);
/* oklch */ color: oklch(94.4% 0.127 113.4);
Tailwind
colors: {
  custom: {
    50: '#f3f9b1',
    500: '#ecf68f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf68f;
$custom-light: #f3f9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf68f",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 143
  },
  "hsl": {
    "h": 65.825,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.94363,
    "c": 0.12729,
    "h": 113.4
  },
  "luminance": 0.85728
}

Semantic roles & 50–950 ramp

primary
#ECF68F
secondary
#6255D4
accent
#04E219
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF68F

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

Preview Lab → · Contrast checker → · Palette generator →

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