#ECE28E#ECE28E

#ECE28E is a very light, moderate yellow. Relative luminance 0.742; OKLCH L 90.2% C 0.106 H 102.4°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#ECE28E
RGBrgb(236, 226, 142)
HSLhsl(54, 71%, 74%)
HSVhsv(54, 40%, 93%)
CMYKcmyk(0%, 4.2%, 39.8%, 7.5%)
CIE-LABlab(89.01, -8.36, 42.25)
CIE-LCHlch(89.01, 43.07, 101.19°)
OKLaboklab(90.23% -0.0226 0.1031)
OKLCHoklch(90.23% 0.106 102.4)
XYZxyz(66.6721, 74.1804, 36.3921)
Luminance0.7418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE28E #8E98EC
analogous
#ECB38E #ECE28E #C7EC8E
triadic
#ECE28E #8EECE2 #E28EEC
tetradic
#ECE28E #8EECB3 #8E98EC #EC8EC7
square
#ECE28E #8EECB3 #8E98EC #EC8EC7
split-complementary
#ECE28E #8EC7EC #B38EEC
monochromatic
#DAC725 #E3D55A #ECE28E #F5EFC2 #FBF8E5

Accessibility & contrast

On white

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

On black

15.84
#ECE28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE28E
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE28E#FFFFFF#000000##000000
##ECE28E1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DD88
Deuteranopia (green-blind)
#F4E291
Tritanopia (blue-blind)
#F9D7CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece28e;
/* rgb */ color: rgb(236, 226, 142);
/* oklch */ color: oklch(90.2% 0.106 102.4);
Tailwind
colors: {
  custom: {
    50: '#f3ebb0',
    500: '#ece28e',
    950: '#000000',
  },
}
SCSS
$custom: #ece28e;
$custom-light: #f3ebb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ece28e",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 142
  },
  "hsl": {
    "h": 53.617,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90233,
    "c": 0.10553,
    "h": 102.4
  },
  "luminance": 0.74179
}

Semantic roles & 50–950 ramp

primary
#ECE28E
secondary
#5763C7
accent
#27D312
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #ECE28E

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

Preview Lab → · Contrast checker → · Palette generator →

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