#ECEB5A#ECEB5A

#ECEB5A is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.5% C 0.163 H 108.9°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#ECEB5A
RGBrgb(236, 235, 90)
HSLhsl(60, 79%, 64%)
HSVhsv(60, 62%, 93%)
CMYKcmyk(0%, 0.4%, 61.9%, 7.5%)
CIE-LABlab(90.78, -17.14, 68.10)
CIE-LCHlch(90.78, 70.23, 104.13°)
OKLaboklab(91.46% -0.0528 0.1547)
OKLCHoklch(91.46% 0.163 108.9)
XYZxyz(66.1480, 77.9896, 21.2399)
Luminance0.7799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB5A #5A5BEC
analogous
#ECA25A #ECEB5A #A4EC5A
triadic
#ECEB5A #5AECEB #EB5AEC
tetradic
#ECEB5A #5AECA2 #5A5BEC #EC5AA4
square
#ECEB5A #5AECA2 #5A5BEC #EC5AA4
split-complementary
#ECEB5A #5AA4EC #A25AEC
monochromatic
#B7B515 #E6E423 #ECEB5A #F2F291 #F9F8C8

Accessibility & contrast

On white

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

On black

16.60
#ECEB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB5A
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB5A#FFFFFF#000000##000000
##ECEB5A1.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE248
Deuteranopia (green-blind)
#FFE763
Tritanopia (blue-blind)
#FCDDCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eceb5a;
/* rgb */ color: rgb(236, 235, 90);
/* oklch */ color: oklch(91.5% 0.163 108.9);
Tailwind
colors: {
  custom: {
    50: '#f5f18f',
    500: '#eceb5a',
    950: '#000000',
  },
}
SCSS
$custom: #eceb5a;
$custom-light: #f5f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb5a",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 59.589,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91456,
    "c": 0.16345,
    "h": 108.9
  },
  "luminance": 0.77988
}

Semantic roles & 50–950 ramp

primary
#ECEB5A
secondary
#3435B6
accent
#0BDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECEB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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