#EBEF5A#EBEF5A

#EBEF5A is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.2% C 0.168 H 110.7°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#EBEF5A
RGBrgb(235, 239, 90)
HSLhsl(62, 82%, 65%)
HSVhsv(62, 62%, 94%)
CMYKcmyk(1.7%, 0%, 62.3%, 6.3%)
CIE-LABlab(91.75, -19.49, 69.11)
CIE-LCHlch(91.75, 71.80, 105.75°)
OKLaboklab(92.21% -0.0594 0.1568)
OKLCHoklch(92.21% 0.168 110.7)
XYZxyz(66.9749, 80.1350, 21.6104)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEF5A #5E5AEF
analogous
#EFA95A #EBEF5A #A0EF5A
triadic
#EBEF5A #5AEBEF #EF5AEB
tetradic
#EBEF5A #5AEFA9 #5E5AEF #EF5AA0
square
#EBEF5A #5AEFA9 #5E5AEF #EF5AA0
split-complementary
#EBEF5A #5AA0EF #A95AEF
monochromatic
#B8BC12 #E4EA22 #EBEF5A #F2F492 #F9FACA

Accessibility & contrast

On white

1.23
#EBEF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#EBEF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEF5A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEF5A#FFFFFF#000000##000000
##EBEF5A1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE547
Deuteranopia (green-blind)
#FFE964
Tritanopia (blue-blind)
#FAE1D0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ebef5a;
/* rgb */ color: rgb(235, 239, 90);
/* oklch */ color: oklch(92.2% 0.168 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f48f',
    500: '#ebef5a',
    950: '#000000',
  },
}
SCSS
$custom: #ebef5a;
$custom-light: #f5f48f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebef5a",
  "rgb": {
    "r": 235,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 61.611,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92212,
    "c": 0.16769,
    "h": 110.7
  },
  "luminance": 0.80133
}

Semantic roles & 50–950 ramp

primary
#EBEF5A
secondary
#3632BB
accent
#07DF0D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EBEF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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