#ECE78E#ECE78E

#ECE78E is a very light, moderate yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.111 H 105.6°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#ECE78E
RGBrgb(236, 231, 142)
HSLhsl(57, 71%, 74%)
HSVhsv(57, 40%, 93%)
CMYKcmyk(0%, 2.1%, 39.8%, 7.5%)
CIE-LABlab(90.29, -10.86, 43.89)
CIE-LCHlch(90.29, 45.21, 103.90°)
OKLaboklab(91.25% -0.0298 0.1068)
OKLCHoklch(91.25% 0.111 105.6)
XYZxyz(68.0516, 76.9393, 36.8519)
Luminance0.7694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE78E #8E93EC
analogous
#ECB88E #ECE78E #C2EC8E
triadic
#ECE78E #8EECE7 #E78EEC
tetradic
#ECE78E #8EECB8 #8E93EC #EC8EC2
square
#ECE78E #8EECB8 #8E93EC #EC8EC2
split-complementary
#ECE78E #8EC2EC #B88EEC
monochromatic
#DAD125 #E3DC5A #ECE78E #F5F2C2 #FBF9E5

Accessibility & contrast

On white

1.28
#ECE78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#ECE78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE78E
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE78E#FFFFFF#000000##000000
##ECE78E1.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E187
Deuteranopia (green-blind)
#F7E592
Tritanopia (blue-blind)
#F9DCD1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece78e;
/* rgb */ color: rgb(236, 231, 142);
/* oklch */ color: oklch(91.3% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#f3eeb0',
    500: '#ece78e',
    950: '#000000',
  },
}
SCSS
$custom: #ece78e;
$custom-light: #f3eeb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ece78e",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 142
  },
  "hsl": {
    "h": 56.809,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91253,
    "c": 0.11088,
    "h": 105.6
  },
  "luminance": 0.76938
}

Semantic roles & 50–950 ramp

primary
#ECE78E
secondary
#575DC7
accent
#1DD312
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #ECE78E

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

Preview Lab → · Contrast checker → · Palette generator →

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