#ECE26A#ECE26A

#ECE26A is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.8% C 0.141 H 104.5°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#ECE26A
RGBrgb(236, 226, 106)
HSLhsl(55, 77%, 67%)
HSVhsv(55, 55%, 93%)
CMYKcmyk(0%, 4.2%, 55.1%, 7.5%)
CIE-LABlab(88.58, -11.62, 58.85)
CIE-LCHlch(88.58, 59.99, 101.17°)
OKLaboklab(89.75% -0.0354 0.137)
OKLCHoklch(89.75% 0.142 104.5)
XYZxyz(64.3920, 73.2683, 24.3832)
Luminance0.7327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE26A #6A74EC
analogous
#ECA16A #ECE26A #B5EC6A
triadic
#ECE26A #6AECE2 #E26AEC
tetradic
#ECE26A #6AECA1 #6A74EC #EC6AB5
square
#ECE26A #6AECA1 #6A74EC #EC6AB5
split-complementary
#ECE26A #6AB5EC #A16AEC
monochromatic
#C3B619 #E5D734 #ECE26A #F3EDA0 #FAF7D7

Accessibility & contrast

On white

1.34
#ECE26A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#ECE26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE26A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE26A#FFFFFF#000000##000000
##ECE26A1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB5E
Deuteranopia (green-blind)
#F7E170
Tritanopia (blue-blind)
#FBD5C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ece26a;
/* rgb */ color: rgb(236, 226, 106);
/* oklch */ color: oklch(89.8% 0.141 104.5);
Tailwind
colors: {
  custom: {
    50: '#f5ea98',
    500: '#ece26a',
    950: '#000000',
  },
}
SCSS
$custom: #ece26a;
$custom-light: #f5ea98;
$custom-dark: #000000;
JSON
{
  "hex": "#ece26a",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 106
  },
  "hsl": {
    "h": 55.385,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8975,
    "c": 0.1415,
    "h": 104.5
  },
  "luminance": 0.73266
}

Semantic roles & 50–950 ramp

primary
#ECE26A
secondary
#3944C1
accent
#1CDA0C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE26A

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

Preview Lab → · Contrast checker → · Palette generator →

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