#EBEF9A#EBEF9A

#EBEF9A is a very light, moderate yellow. Relative luminance 0.817; OKLCH L 93.0% C 0.107 H 110.6°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#EBEF9A
RGBrgb(235, 239, 154)
HSLhsl(63, 73%, 77%)
HSVhsv(63, 36%, 94%)
CMYKcmyk(1.7%, 0%, 35.6%, 6.3%)
CIE-LABlab(92.46, -13.89, 40.71)
CIE-LCHlch(92.46, 43.01, 108.84°)
OKLaboklab(93.01% -0.0376 0.1001)
OKLCHoklch(93.01% 0.107 110.6)
XYZxyz(70.9608, 81.7294, 42.6028)
Luminance0.8173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEF9A #9E9AEF
analogous
#EFC99A #EBEF9A #C0EF9A
triadic
#EBEF9A #9AEBEF #EF9AEB
tetradic
#EBEF9A #9AEFC9 #9E9AEF #EF9AC0
square
#EBEF9A #9AEFC9 #9E9AEF #EF9AC0
split-complementary
#EBEF9A #9AC0EF #C99AEF
monochromatic
#D6DE30 #E1E765 #EBEF9A #F5F7CF #FAFBE5

Accessibility & contrast

On white

1.21
#EBEF9A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#EBEF9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEF9A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEF9A#FFFFFF#000000##000000
##EBEF9A1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE894
Deuteranopia (green-blind)
#FCEB9E
Tritanopia (blue-blind)
#F6E5DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebef9a;
/* rgb */ color: rgb(235, 239, 154);
/* oklch */ color: oklch(93.0% 0.107 110.6);
Tailwind
colors: {
  custom: {
    50: '#f2f4b8',
    500: '#ebef9a',
    950: '#000000',
  },
}
SCSS
$custom: #ebef9a;
$custom-light: #f2f4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ebef9a",
  "rgb": {
    "r": 235,
    "g": 239,
    "b": 154
  },
  "hsl": {
    "h": 62.824,
    "s": 72.65,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93008,
    "c": 0.10692,
    "h": 110.6
  },
  "luminance": 0.81728
}

Semantic roles & 50–950 ramp

primary
#EBEF9A
secondary
#6762CC
accent
#11D51A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBEF9A

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

Preview Lab → · Contrast checker → · Palette generator →

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