#ECE25A#ECE25A

#ECE25A is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.6% C 0.155 H 105.1°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#ECE25A
RGBrgb(236, 226, 90)
HSLhsl(56, 79%, 64%)
HSVhsv(56, 62%, 93%)
CMYKcmyk(0%, 4.2%, 61.9%, 7.5%)
CIE-LABlab(88.43, -12.72, 65.61)
CIE-LCHlch(88.43, 66.83, 100.97°)
OKLaboklab(89.59% -0.0403 0.1494)
OKLCHoklch(89.59% 0.155 105.1)
XYZxyz(63.6362, 72.9660, 20.4026)
Luminance0.7296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE25A #5A64EC
analogous
#EC995A #ECE25A #ADEC5A
triadic
#ECE25A #5AECE2 #E25AEC
tetradic
#ECE25A #5AEC99 #5A64EC #EC5AAD
square
#ECE25A #5AEC99 #5A64EC #EC5AAD
split-complementary
#ECE25A #5AADEC #995AEC
monochromatic
#B7AC15 #E6D823 #ECE25A #F2EC91 #F9F5C8

Accessibility & contrast

On white

1.35
#ECE25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#ECE25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE25A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE25A#FFFFFF#000000##000000
##ECE25A1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA4A
Deuteranopia (green-blind)
#F8E162
Tritanopia (blue-blind)
#FCD4C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ece25a;
/* rgb */ color: rgb(236, 226, 90);
/* oklch */ color: oklch(89.6% 0.155 105.1);
Tailwind
colors: {
  custom: {
    50: '#f5ea8e',
    500: '#ece25a',
    950: '#000000',
  },
}
SCSS
$custom: #ece25a;
$custom-light: #f5ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ece25a",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 90
  },
  "hsl": {
    "h": 55.89,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89589,
    "c": 0.15474,
    "h": 105.1
  },
  "luminance": 0.72964
}

Semantic roles & 50–950 ramp

primary
#ECE25A
secondary
#343DB6
accent
#18DC0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECE25A

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

Preview Lab → · Contrast checker → · Palette generator →

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