#ECEBA2#ECEBA2

#ECEBA2 is a very light, moderate yellow. Relative luminance 0.799; OKLCH L 92.4% C 0.093 H 107.4°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#ECEBA2
RGBrgb(236, 235, 162)
HSLhsl(59, 66%, 78%)
HSVhsv(59, 31%, 93%)
CMYKcmyk(0%, 0.4%, 31.4%, 7.5%)
CIE-LABlab(91.62, -10.59, 35.64)
CIE-LCHlch(91.62, 37.18, 106.55°)
OKLaboklab(92.4% -0.0278 0.0886)
OKLCHoklch(92.4% 0.093 107.4)
XYZxyz(70.8225, 79.8594, 45.8590)
Luminance0.7986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEBA2 #A2A3EC
analogous
#ECC6A2 #ECEBA2 #C8ECA2
triadic
#ECEBA2 #A2ECEB #EBA2EC
tetradic
#ECEBA2 #A2ECC6 #A2A3EC #ECA2C8
square
#ECEBA2 #A2ECC6 #A2A3EC #ECA2C8
split-complementary
#ECEBA2 #A2C8EC #C6A2EC
monochromatic
#D7D53C #E2E06F #ECEBA2 #F6F6D5 #FAFAE6

Accessibility & contrast

On white

1.24
#ECEBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#ECEBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEBA2
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEBA2#FFFFFF#000000##000000
##ECEBA21.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E59D
Deuteranopia (green-blind)
#F8E8A5
Tritanopia (blue-blind)
#F6E2D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #eceba2;
/* rgb */ color: rgb(236, 235, 162);
/* oklch */ color: oklch(92.4% 0.093 107.4);
Tailwind
colors: {
  custom: {
    50: '#f3f1be',
    500: '#eceba2',
    950: '#000000',
  },
}
SCSS
$custom: #eceba2;
$custom-light: #f3f1be;
$custom-dark: #000000;
JSON
{
  "hex": "#eceba2",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 162
  },
  "hsl": {
    "h": 59.189,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92404,
    "c": 0.09281,
    "h": 107.4
  },
  "luminance": 0.79858
}

Semantic roles & 50–950 ramp

primary
#ECEBA2
secondary
#6A6BC8
accent
#1ACE18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #ECEBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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