#ECE762#ECE762

#ECE762 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.7% C 0.153 H 107.1°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#ECE762
RGBrgb(236, 231, 98)
HSLhsl(58, 78%, 65%)
HSVhsv(58, 58%, 93%)
CMYKcmyk(0%, 2.1%, 58.5%, 7.5%)
CIE-LABlab(89.80, -14.67, 63.73)
CIE-LCHlch(89.80, 65.39, 102.96°)
OKLaboklab(90.7% -0.045 0.1465)
OKLCHoklch(90.7% 0.153 107.1)
XYZxyz(65.3746, 75.8685, 22.7533)
Luminance0.7587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE762 #6267EC
analogous
#ECA262 #ECE762 #ACEC62
triadic
#ECE762 #62ECE7 #E762EC
tetradic
#ECE762 #62ECA2 #6267EC #EC62AC
square
#ECE762 #62ECA2 #6267EC #EC62AC
split-complementary
#ECE762 #62ACEC #A262EC
monochromatic
#BDB717 #E5DF2B #ECE762 #F3EF99 #F9F8CF

Accessibility & contrast

On white

1.30
#ECE762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#ECE762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE762
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE762#FFFFFF#000000##000000
##ECE7621.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#FBE46A
Tritanopia (blue-blind)
#FCD9CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece762;
/* rgb */ color: rgb(236, 231, 98);
/* oklch */ color: oklch(90.7% 0.153 107.1);
Tailwind
colors: {
  custom: {
    50: '#f5ee93',
    500: '#ece762',
    950: '#000000',
  },
}
SCSS
$custom: #ece762;
$custom-light: #f5ee93;
$custom-dark: #000000;
JSON
{
  "hex": "#ece762",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 57.826,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90699,
    "c": 0.15322,
    "h": 107.1
  },
  "luminance": 0.75867
}

Semantic roles & 50–950 ramp

primary
#ECE762
secondary
#373BBC
accent
#12DB0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE762

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

Preview Lab → · Contrast checker → · Palette generator →

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