#ECE2A2#ECE2A2

#ECE2A2 is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.083 H 100.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#ECE2A2
RGBrgb(236, 226, 162)
HSLhsl(52, 66%, 78%)
HSVhsv(52, 31%, 93%)
CMYKcmyk(0%, 4.2%, 31.4%, 7.5%)
CIE-LABlab(89.32, -6.08, 32.58)
CIE-LCHlch(89.32, 33.14, 100.57°)
OKLaboklab(90.58% -0.0148 0.0814)
OKLCHoklch(90.58% 0.083 100.3)
XYZxyz(68.3107, 74.8358, 45.0217)
Luminance0.7483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2A2 #A2ACEC
analogous
#ECBDA2 #ECE2A2 #D1ECA2
triadic
#ECE2A2 #A2ECE2 #E2A2EC
tetradic
#ECE2A2 #A2ECBD #A2ACEC #ECA2D1
square
#ECE2A2 #A2ECBD #A2ACEC #ECA2D1
split-complementary
#ECE2A2 #A2D1EC #BDA2EC
monochromatic
#D7C23C #E2D26F #ECE2A2 #F6F2D5 #FAF7E6

Accessibility & contrast

On white

1.32
#ECE2A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#ECE2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2A2
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2A2#FFFFFF#000000##000000
##ECE2A21.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDE9E
Deuteranopia (green-blind)
#F1E2A4
Tritanopia (blue-blind)
#F7D9D1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece2a2;
/* rgb */ color: rgb(236, 226, 162);
/* oklch */ color: oklch(90.6% 0.083 100.3);
Tailwind
colors: {
  custom: {
    50: '#f3ebbe',
    500: '#ece2a2',
    950: '#000000',
  },
}
SCSS
$custom: #ece2a2;
$custom-light: #f3ebbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2a2",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 162
  },
  "hsl": {
    "h": 51.892,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.90578,
    "c": 0.08269,
    "h": 100.3
  },
  "luminance": 0.74834
}

Semantic roles & 50–950 ramp

primary
#ECE2A2
secondary
#6A77C8
accent
#30CE18
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #ECE2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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