#ECE18F#ECE18F

#ECE18F is a very light, moderate yellow. Relative luminance 0.737; OKLCH L 90.0% C 0.103 H 101.6°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#ECE18F
RGBrgb(236, 225, 143)
HSLhsl(53, 71%, 74%)
HSVhsv(53, 39%, 93%)
CMYKcmyk(0%, 4.7%, 39.4%, 7.5%)
CIE-LABlab(88.77, -7.75, 41.44)
CIE-LCHlch(88.77, 42.16, 100.59°)
OKLaboklab(90.05% -0.0208 0.1013)
OKLCHoklch(90.05% 0.103 101.6)
XYZxyz(66.4764, 73.6683, 36.6989)
Luminance0.7367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE18F #8F9AEC
analogous
#ECB38F #ECE18F #C9EC8F
triadic
#ECE18F #8FECE1 #E18FEC
tetradic
#ECE18F #8FECB3 #8F9AEC #EC8FC9
square
#ECE18F #8FECB3 #8F9AEC #EC8FC9
split-complementary
#ECE18F #8FC9EC #B38FEC
monochromatic
#DAC526 #E3D35B #ECE18F #F5EFC3 #FBF8E5

Accessibility & contrast

On white

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

On black

15.73
#ECE18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE18F
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE18F#FFFFFF#000000##000000
##ECE18F1.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDC89
Deuteranopia (green-blind)
#F3E192
Tritanopia (blue-blind)
#F9D6CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ece18f;
/* rgb */ color: rgb(236, 225, 143);
/* oklch */ color: oklch(90.0% 0.103 101.6);
Tailwind
colors: {
  custom: {
    50: '#f3eab1',
    500: '#ece18f',
    950: '#000000',
  },
}
SCSS
$custom: #ece18f;
$custom-light: #f3eab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ece18f",
  "rgb": {
    "r": 236,
    "g": 225,
    "b": 143
  },
  "hsl": {
    "h": 52.903,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90046,
    "c": 0.10339,
    "h": 101.6
  },
  "luminance": 0.73666
}

Semantic roles & 50–950 ramp

primary
#ECE18F
secondary
#5865C7
accent
#29D312
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #ECE18F

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

Preview Lab → · Contrast checker → · Palette generator →

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