#EBEC5F#EBEC5F

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

Color values

HEX#EBEC5F
RGBrgb(235, 236, 95)
HSLhsl(60, 79%, 65%)
HSVhsv(60, 60%, 93%)
CMYKcmyk(0.4%, 0%, 59.7%, 7.5%)
CIE-LABlab(91.00, -17.72, 66.28)
CIE-LCHlch(91.00, 68.60, 104.97°)
OKLaboklab(91.63% -0.0539 0.1515)
OKLCHoklch(91.63% 0.161 109.6)
XYZxyz(66.3239, 78.4811, 22.4789)
Luminance0.7848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC5F #605FEC
analogous
#ECA75F #EBEC5F #A4EC5F
triadic
#EBEC5F #5FEBEC #EC5FEB
tetradic
#EBEC5F #5FECA7 #605FEC #EC5FA4
square
#EBEC5F #5FECA7 #605FEC #EC5FA4
split-complementary
#EBEC5F #5FA4EC #A75FEC
monochromatic
#B9BA16 #E4E628 #EBEC5F #F2F296 #F9F9CC

Accessibility & contrast

On white

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

On black

16.70
#EBEC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC5F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC5F#FFFFFF#000000##000000
##EBEC5F1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebec5f;
/* rgb */ color: rgb(235, 236, 95);
/* oklch */ color: oklch(91.6% 0.161 109.6);
Tailwind
colors: {
  custom: {
    50: '#f4f192',
    500: '#ebec5f',
    950: '#000000',
  },
}
SCSS
$custom: #ebec5f;
$custom-light: #f4f192;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec5f",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 60.426,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91629,
    "c": 0.16081,
    "h": 109.6
  },
  "luminance": 0.78479
}

Semantic roles & 50–950 ramp

primary
#EBEC5F
secondary
#3736BA
accent
#0ADB0C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBEC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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