#ECE97F#ECE97F

#ECE97F is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.4% C 0.129 H 107.3°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#ECE97F
RGBrgb(236, 233, 127)
HSLhsl(58, 74%, 71%)
HSVhsv(58, 46%, 93%)
CMYKcmyk(0%, 1.3%, 46.2%, 7.5%)
CIE-LABlab(90.62, -13.33, 51.54)
CIE-LCHlch(90.62, 53.24, 104.50°)
OKLaboklab(91.45% -0.0382 0.123)
OKLCHoklch(91.45% 0.129 107.3)
XYZxyz(67.5632, 77.6447, 31.5024)
Luminance0.7764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE97F #7F82EC
analogous
#ECB27F #ECE97F #B8EC7F
triadic
#ECE97F #7FECE9 #E97FEC
tetradic
#ECE97F #7FECB2 #7F82EC #EC7FB8
square
#ECE97F #7FECB2 #7F82EC #EC7FB8
split-complementary
#ECE97F #7FB8EC #B27FEC
monochromatic
#D2CD1F #E4E04A #ECE97F #F4F2B4 #FBFAE4

Accessibility & contrast

On white

1.27
#ECE97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#ECE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE97F
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE97F#FFFFFF#000000##000000
##ECE97F1.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E276
Deuteranopia (green-blind)
#FBE684
Tritanopia (blue-blind)
#FADDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ece97f;
/* rgb */ color: rgb(236, 233, 127);
/* oklch */ color: oklch(91.4% 0.129 107.3);
Tailwind
colors: {
  custom: {
    50: '#f4efa6',
    500: '#ece97f',
    950: '#000000',
  },
}
SCSS
$custom: #ece97f;
$custom-light: #f4efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ece97f",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 58.349,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91448,
    "c": 0.1288,
    "h": 107.3
  },
  "luminance": 0.77643
}

Semantic roles & 50–950 ramp

primary
#ECE97F
secondary
#4A4DC6
accent
#15D60F
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #ECE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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