#ECE45A#ECE45A

#ECE45A is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.0% C 0.157 H 106.0°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#ECE45A
RGBrgb(236, 228, 90)
HSLhsl(57, 79%, 64%)
HSVhsv(57, 62%, 93%)
CMYKcmyk(0%, 3.4%, 61.9%, 7.5%)
CIE-LABlab(88.95, -13.71, 66.16)
CIE-LCHlch(88.95, 67.57, 101.71°)
OKLaboklab(90% -0.0431 0.1506)
OKLCHoklch(90% 0.157 106)
XYZxyz(64.1832, 74.0600, 20.5850)
Luminance0.7406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE45A #5A62EC
analogous
#EC9B5A #ECE45A #ABEC5A
triadic
#ECE45A #5AECE4 #E45AEC
tetradic
#ECE45A #5AEC9B #5A62EC #EC5AAB
square
#ECE45A #5AEC9B #5A62EC #EC5AAB
split-complementary
#ECE45A #5AABEC #9B5AEC
monochromatic
#B7AE15 #E6DB23 #ECE45A #F2ED91 #F9F6C8

Accessibility & contrast

On white

1.33
#ECE45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#ECE45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE45A
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE45A#FFFFFF#000000##000000
##ECE45A1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC49
Deuteranopia (green-blind)
#FAE262
Tritanopia (blue-blind)
#FCD6C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ece45a;
/* rgb */ color: rgb(236, 228, 90);
/* oklch */ color: oklch(90.0% 0.157 106.0);
Tailwind
colors: {
  custom: {
    50: '#f5ec8e',
    500: '#ece45a',
    950: '#000000',
  },
}
SCSS
$custom: #ece45a;
$custom-light: #f5ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ece45a",
  "rgb": {
    "r": 236,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 56.712,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90002,
    "c": 0.15663,
    "h": 106
  },
  "luminance": 0.74058
}

Semantic roles & 50–950 ramp

primary
#ECE45A
secondary
#343BB6
accent
#15DC0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECE45A

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

Preview Lab → · Contrast checker → · Palette generator →

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