#ECD45E#ECD45E

#ECD45E is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.8% C 0.139 H 97.9°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#ECD45E
RGBrgb(236, 212, 94)
HSLhsl(50, 79%, 65%)
HSVhsv(50, 60%, 93%)
CMYKcmyk(0%, 10.2%, 60.2%, 7.5%)
CIE-LABlab(84.86, -5.44, 60.00)
CIE-LCHlch(84.86, 60.25, 95.18°)
OKLaboklab(86.76% -0.0191 0.138)
OKLCHoklch(86.76% 0.139 97.9)
XYZxyz(60.1584, 65.7307, 20.1060)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD45E #5E76EC
analogous
#EC8D5E #ECD45E #BDEC5E
triadic
#ECD45E #5EECD4 #D45EEC
tetradic
#ECD45E #5EEC8D #5E76EC #EC5EBD
square
#ECD45E #5EEC8D #5E76EC #EC5EBD
split-complementary
#ECD45E #5EBDEC #8D5EEC
monochromatic
#BA9E16 #E6C527 #ECD45E #F2E395 #F9F1CB

Accessibility & contrast

On white

1.48
#ECD45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#ECD45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD45E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD45E#FFFFFF#000000##000000
##ECD45E1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#FDC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd45e;
/* rgb */ color: rgb(236, 212, 94);
/* oklch */ color: oklch(86.8% 0.139 97.9);
Tailwind
colors: {
  custom: {
    50: '#f5e090',
    500: '#ecd45e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd45e;
$custom-light: #f5e090;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd45e",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 49.859,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.13934,
    "h": 97.9
  },
  "luminance": 0.65728
}

Semantic roles & 50–950 ramp

primary
#ECD45E
secondary
#354CB9
accent
#2EDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD45E

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

Preview Lab → · Contrast checker → · Palette generator →

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