#ECE46D#ECE46D

#ECE46D is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.2% C 0.141 H 105.4°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#ECE46D
RGBrgb(236, 228, 109)
HSLhsl(56, 77%, 68%)
HSVhsv(56, 54%, 93%)
CMYKcmyk(0%, 3.4%, 53.8%, 7.5%)
CIE-LABlab(89.12, -12.38, 58.13)
CIE-LCHlch(89.12, 59.43, 102.02°)
OKLaboklab(90.2% -0.0373 0.1358)
OKLCHoklch(90.2% 0.141 105.4)
XYZxyz(65.0977, 74.4258, 25.4015)
Luminance0.7442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE46D #6D75EC
analogous
#ECA46D #ECE46D #B5EC6D
triadic
#ECE46D #6DECE4 #E46DEC
tetradic
#ECE46D #6DECA4 #6D75EC #EC6DB5
square
#ECE46D #6DECA4 #6D75EC #EC6DB5
split-complementary
#ECE46D #6DB5EC #A46DEC
monochromatic
#C5BA1A #E5DA37 #ECE46D #F3EEA3 #FAF8D9

Accessibility & contrast

On white

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

On black

15.88
#ECE46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE46D
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE46D#FFFFFF#000000##000000
##ECE46D1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD61
Deuteranopia (green-blind)
#F8E273
Tritanopia (blue-blind)
#FBD7C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece46d;
/* rgb */ color: rgb(236, 228, 109);
/* oklch */ color: oklch(90.2% 0.141 105.4);
Tailwind
colors: {
  custom: {
    50: '#f5ec9a',
    500: '#ece46d',
    950: '#000000',
  },
}
SCSS
$custom: #ece46d;
$custom-light: #f5ec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ece46d",
  "rgb": {
    "r": 236,
    "g": 228,
    "b": 109
  },
  "hsl": {
    "h": 56.22,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90195,
    "c": 0.14078,
    "h": 105.4
  },
  "luminance": 0.74424
}

Semantic roles & 50–950 ramp

primary
#ECE46D
secondary
#3A43C3
accent
#19D90C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE46D

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

Preview Lab → · Contrast checker → · Palette generator →

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