#EBEC4F#EBEC4F

#EBEC4F is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.5% C 0.172 H 109.7°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#EBEC4F
RGBrgb(235, 236, 79)
HSLhsl(60, 81%, 62%)
HSVhsv(60, 67%, 93%)
CMYKcmyk(0.4%, 0%, 66.5%, 7.5%)
CIE-LABlab(90.88, -18.67, 72.45)
CIE-LCHlch(90.88, 74.81, 104.45°)
OKLaboklab(91.5% -0.0582 0.1622)
OKLCHoklch(91.5% 0.172 109.7)
XYZxyz(65.6699, 78.2194, 19.0342)
Luminance0.7822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC4F #504FEC
analogous
#EC9F4F #EBEC4F #9DEC4F
triadic
#EBEC4F #4FEBEC #EC4FEB
tetradic
#EBEC4F #4FEC9F #504FEC #EC4F9D
square
#EBEC4F #4FEC9F #504FEC #EC4F9D
split-complementary
#EBEC4F #4F9DEC #9F4FEC
monochromatic
#ADAE13 #E4E519 #EBEC4F #F1F286 #F8F8BD

Accessibility & contrast

On white

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

On black

16.64
#EBEC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC4F
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC4F#FFFFFF#000000##000000
##EBEC4F1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE237
Deuteranopia (green-blind)
#FFE75A
Tritanopia (blue-blind)
#FBDECD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ebec4f;
/* rgb */ color: rgb(235, 236, 79);
/* oklch */ color: oklch(91.5% 0.172 109.7);
Tailwind
colors: {
  custom: {
    50: '#f5f189',
    500: '#ebec4f',
    950: '#000000',
  },
}
SCSS
$custom: #ebec4f;
$custom-light: #f5f189;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec4f",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 60.382,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.91496,
    "c": 0.17232,
    "h": 109.7
  },
  "luminance": 0.78218
}

Semantic roles & 50–950 ramp

primary
#EBEC4F
secondary
#3231AE
accent
#09DD0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EBEC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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