#ECE397#ECE397

#ECE397 is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.097 H 102.3°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#ECE397
RGBrgb(236, 227, 151)
HSLhsl(54, 69%, 76%)
HSVhsv(54, 36%, 93%)
CMYKcmyk(0%, 3.8%, 36%, 7.5%)
CIE-LABlab(89.40, -7.88, 38.26)
CIE-LCHlch(89.40, 39.06, 101.63°)
OKLaboklab(90.58% -0.0206 0.0943)
OKLCHoklch(90.58% 0.097 102.3)
XYZxyz(67.6480, 75.0071, 40.1864)
Luminance0.7500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE397 #97A0EC
analogous
#ECB897 #ECE397 #CAEC97
triadic
#ECE397 #97ECE3 #E397EC
tetradic
#ECE397 #97ECB8 #97A0EC #EC97CA
square
#ECE397 #97ECB8 #97A0EC #EC97CA
split-complementary
#ECE397 #97CAEC #B897EC
monochromatic
#D9C730 #E3D563 #ECE397 #F5F1CB #FAF8E5

Accessibility & contrast

On white

1.31
#ECE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#ECE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE397
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE397#FFFFFF#000000##000000
##ECE3971.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#F3E39A
Tritanopia (blue-blind)
#F8D9D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece397;
/* rgb */ color: rgb(236, 227, 151);
/* oklch */ color: oklch(90.6% 0.097 102.3);
Tailwind
colors: {
  custom: {
    50: '#f3ebb6',
    500: '#ece397',
    950: '#000000',
  },
}
SCSS
$custom: #ece397;
$custom-light: #f3ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ece397",
  "rgb": {
    "r": 236,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 53.647,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90584,
    "c": 0.09652,
    "h": 102.3
  },
  "luminance": 0.75005
}

Semantic roles & 50–950 ramp

primary
#ECE397
secondary
#606BC8
accent
#28D114
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECE397

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

Preview Lab → · Contrast checker → · Palette generator →

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