#EBEC5D#EBEC5D

#EBEC5D is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.6% C 0.162 H 109.6°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#EBEC5D
RGBrgb(235, 236, 93)
HSLhsl(60, 79%, 65%)
HSVhsv(60, 61%, 93%)
CMYKcmyk(0.4%, 0%, 60.6%, 7.5%)
CIE-LABlab(90.98, -17.85, 67.08)
CIE-LCHlch(90.98, 69.42, 104.90°)
OKLaboklab(91.61% -0.0545 0.153)
OKLCHoklch(91.61% 0.162 109.6)
XYZxyz(66.2342, 78.4452, 22.0062)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC5D #5E5DEC
analogous
#ECA65D #EBEC5D #A3EC5D
triadic
#EBEC5D #5DEBEC #EC5DEB
tetradic
#EBEC5D #5DECA6 #5E5DEC #EC5DA3
square
#EBEC5D #5DECA6 #5E5DEC #EC5DA3
split-complementary
#EBEC5D #5DA3EC #A65DEC
monochromatic
#B8B916 #E4E626 #EBEC5D #F2F294 #F9F9CB

Accessibility & contrast

On white

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

On black

16.69
#EBEC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC5D
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC5D#FFFFFF#000000##000000
##EBEC5D1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34C
Deuteranopia (green-blind)
#FFE766
Tritanopia (blue-blind)
#FADECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ebec5d;
/* rgb */ color: rgb(235, 236, 93);
/* oklch */ color: oklch(91.6% 0.162 109.6);
Tailwind
colors: {
  custom: {
    50: '#f4f191',
    500: '#ebec5d',
    950: '#000000',
  },
}
SCSS
$custom: #ebec5d;
$custom-light: #f4f191;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec5d",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 60.42,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91611,
    "c": 0.16237,
    "h": 109.6
  },
  "luminance": 0.78443
}

Semantic roles & 50–950 ramp

primary
#EBEC5D
secondary
#3635B8
accent
#0ADB0C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBEC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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