#ECE97E#ECE97E

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

Color values

HEX#ECE97E
RGBrgb(236, 233, 126)
HSLhsl(58, 74%, 71%)
HSVhsv(58, 47%, 93%)
CMYKcmyk(0%, 1.3%, 46.6%, 7.5%)
CIE-LABlab(90.61, -13.42, 52.00)
CIE-LCHlch(90.61, 53.71, 104.47°)
OKLaboklab(91.44% -0.0386 0.1239)
OKLCHoklch(91.44% 0.13 107.3)
XYZxyz(67.4984, 77.6188, 31.1609)
Luminance0.7762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE97E #7E81EC
analogous
#ECB27E #ECE97E #B8EC7E
triadic
#ECE97E #7EECE9 #E97EEC
tetradic
#ECE97E #7EECB2 #7E81EC #EC7EB8
square
#ECE97E #7EECB2 #7E81EC #EC7EB8
split-complementary
#ECE97E #7EB8EC #B27EEC
monochromatic
#D1CC1F #E4E049 #ECE97E #F4F2B3 #FBFAE4

Accessibility & contrast

On white

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

On black

16.52
#ECE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE97E
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE97E#FFFFFF#000000##000000
##ECE97E1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece97e;
/* rgb */ color: rgb(236, 233, 126);
/* oklch */ color: oklch(91.4% 0.130 107.3);
Tailwind
colors: {
  custom: {
    50: '#f4efa5',
    500: '#ece97e',
    950: '#000000',
  },
}
SCSS
$custom: #ece97e;
$custom-light: #f4efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ece97e",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 58.364,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91435,
    "c": 0.1298,
    "h": 107.3
  },
  "luminance": 0.77617
}

Semantic roles & 50–950 ramp

primary
#ECE97E
secondary
#494CC5
accent
#14D60F
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #ECE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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