#ECEB5F#ECEB5F

#ECEB5F is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.5% C 0.160 H 108.8°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#ECEB5F
RGBrgb(236, 235, 95)
HSLhsl(60, 79%, 65%)
HSVhsv(60, 60%, 93%)
CMYKcmyk(0%, 0.4%, 59.7%, 7.5%)
CIE-LABlab(90.82, -16.83, 66.10)
CIE-LCHlch(90.82, 68.21, 104.28°)
OKLaboklab(91.5% -0.0514 0.1511)
OKLCHoklch(91.5% 0.16 108.8)
XYZxyz(66.3680, 78.0776, 22.3987)
Luminance0.7808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB5F #5F60EC
analogous
#ECA45F #ECEB5F #A7EC5F
triadic
#ECEB5F #5FECEB #EB5FEC
tetradic
#ECEB5F #5FECA4 #5F60EC #EC5FA7
square
#ECEB5F #5FECA4 #5F60EC #EC5FA7
split-complementary
#ECEB5F #5FA7EC #A45FEC
monochromatic
#BAB916 #E6E428 #ECEB5F #F2F296 #F9F9CC

Accessibility & contrast

On white

1.26
#ECEB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#ECEB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB5F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB5F#FFFFFF#000000##000000
##ECEB5F1.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE24E
Deuteranopia (green-blind)
#FFE767
Tritanopia (blue-blind)
#FBDDCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eceb5f;
/* rgb */ color: rgb(236, 235, 95);
/* oklch */ color: oklch(91.5% 0.160 108.8);
Tailwind
colors: {
  custom: {
    50: '#f5f192',
    500: '#eceb5f',
    950: '#000000',
  },
}
SCSS
$custom: #eceb5f;
$custom-light: #f5f192;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb5f",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 59.574,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91501,
    "c": 0.15963,
    "h": 108.8
  },
  "luminance": 0.78076
}

Semantic roles & 50–950 ramp

primary
#ECEB5F
secondary
#3637BA
accent
#0CDB0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECEB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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