#ECF67E#ECF67E

#ECF67E is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.1% C 0.144 H 113.1°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#ECF67E
RGBrgb(236, 246, 126)
HSLhsl(65, 87%, 73%)
HSVhsv(65, 49%, 96%)
CMYKcmyk(4.1%, 0%, 48.8%, 3.5%)
CIE-LABlab(93.99, -19.76, 56.07)
CIE-LCHlch(93.99, 59.45, 109.41°)
OKLaboklab(94.13% -0.0566 0.1329)
OKLCHoklch(94.13% 0.144 113.1)
XYZxyz(71.3150, 85.2519, 32.4331)
Luminance0.8525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF67E #887EF6
analogous
#F6C47E #ECF67E #B0F67E
triadic
#ECF67E #7EECF6 #F67EEC
tetradic
#ECF67E #7EF6C4 #887EF6 #F67EB0
square
#ECF67E #7EF6C4 #887EF6 #F67EB0
split-complementary
#ECF67E #7EB0F6 #C47EF6
monochromatic
#D7E910 #E4F245 #ECF67E #F4FAB7 #FBFDE2

Accessibility & contrast

On white

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

On black

18.05
#ECF67E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF67E
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF67E#FFFFFF#000000##000000
##ECF67E1.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFEF84
Tritanopia (blue-blind)
#F9EADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf67e;
/* rgb */ color: rgb(236, 246, 126);
/* oklch */ color: oklch(94.1% 0.144 113.1);
Tailwind
colors: {
  custom: {
    50: '#f4f9a6',
    500: '#ecf67e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf67e;
$custom-light: #f4f9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf67e",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 126
  },
  "hsl": {
    "h": 65,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94133,
    "c": 0.14443,
    "h": 113.1
  },
  "luminance": 0.85251
}

Semantic roles & 50–950 ramp

primary
#ECF67E
secondary
#5246D2
accent
#02E415
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF67E

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

Preview Lab → · Contrast checker → · Palette generator →

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