#ECE25D#ECE25D

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

Color values

HEX#ECE25D
RGBrgb(236, 226, 93)
HSLhsl(56, 79%, 65%)
HSVhsv(56, 61%, 93%)
CMYKcmyk(0%, 4.2%, 60.6%, 7.5%)
CIE-LABlab(88.46, -12.53, 64.38)
CIE-LCHlch(88.46, 65.59, 101.01°)
OKLaboklab(89.62% -0.0394 0.1472)
OKLCHoklch(89.62% 0.152 105)
XYZxyz(63.7664, 73.0181, 21.0888)
Luminance0.7302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE25D #5D67EC
analogous
#EC9B5D #ECE25D #AFEC5D
triadic
#ECE25D #5DECE2 #E25DEC
tetradic
#ECE25D #5DEC9B #5D67EC #EC5DAF
square
#ECE25D #5DEC9B #5D67EC #EC5DAF
split-complementary
#ECE25D #5DAFEC #9B5DEC
monochromatic
#B9AD16 #E6D826 #ECE25D #F2EC94 #F9F6CB

Accessibility & contrast

On white

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

On black

15.60
#ECE25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE25D
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE25D#FFFFFF#000000##000000
##ECE25D1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB4E
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#FCD4C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ece25d;
/* rgb */ color: rgb(236, 226, 93);
/* oklch */ color: oklch(89.6% 0.152 105.0);
Tailwind
colors: {
  custom: {
    50: '#f5ea90',
    500: '#ece25d',
    950: '#000000',
  },
}
SCSS
$custom: #ece25d;
$custom-light: #f5ea90;
$custom-dark: #000000;
JSON
{
  "hex": "#ece25d",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 93
  },
  "hsl": {
    "h": 55.804,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89617,
    "c": 0.1524,
    "h": 105
  },
  "luminance": 0.73016
}

Semantic roles & 50–950 ramp

primary
#ECE25D
secondary
#353EB8
accent
#19DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE25D

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

Preview Lab → · Contrast checker → · Palette generator →

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