#ECE46F#ECE46F

#ECE46F is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.2% C 0.139 H 105.3°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#ECE46F
RGBrgb(236, 228, 111)
HSLhsl(56, 77%, 68%)
HSVhsv(56, 53%, 93%)
CMYKcmyk(0%, 3.4%, 53%, 7.5%)
CIE-LABlab(89.14, -12.22, 57.24)
CIE-LCHlch(89.14, 58.53, 102.05°)
OKLaboklab(90.22% -0.0366 0.1341)
OKLCHoklch(90.22% 0.139 105.3)
XYZxyz(65.2066, 74.4694, 25.9750)
Luminance0.7447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE46F #6F77EC
analogous
#ECA56F #ECE46F #B5EC6F
triadic
#ECE46F #6FECE4 #E46FEC
tetradic
#ECE46F #6FECA5 #6F77EC #EC6FB5
square
#ECE46F #6FECA5 #6F77EC #EC6FB5
split-complementary
#ECE46F #6FB5EC #A56FEC
monochromatic
#C6BB1A #E5DA39 #ECE46F #F3EEA5 #FAF8DB

Accessibility & contrast

On white

1.32
#ECE46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#ECE46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE46F
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE46F#FFFFFF#000000##000000
##ECE46F1.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD64
Deuteranopia (green-blind)
#F8E275
Tritanopia (blue-blind)
#FBD7CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece46f;
/* rgb */ color: rgb(236, 228, 111);
/* oklch */ color: oklch(90.2% 0.139 105.3);
Tailwind
colors: {
  custom: {
    50: '#f4ec9b',
    500: '#ece46f',
    950: '#000000',
  },
}
SCSS
$custom: #ece46f;
$custom-light: #f4ec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ece46f",
  "rgb": {
    "r": 236,
    "g": 228,
    "b": 111
  },
  "hsl": {
    "h": 56.16,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90218,
    "c": 0.13897,
    "h": 105.3
  },
  "luminance": 0.74467
}

Semantic roles & 50–950 ramp

primary
#ECE46F
secondary
#3B44C4
accent
#1AD90D
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE46F

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

Preview Lab → · Contrast checker → · Palette generator →

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