#EBED5A#EBED5A

#EBED5A is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.8% C 0.166 H 110.0°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#EBED5A
RGBrgb(235, 237, 90)
HSLhsl(61, 80%, 64%)
HSVhsv(61, 62%, 93%)
CMYKcmyk(0.8%, 0%, 62%, 7.1%)
CIE-LABlab(91.22, -18.52, 68.55)
CIE-LCHlch(91.22, 71.01, 105.12°)
OKLaboklab(91.79% -0.0567 0.1557)
OKLCHoklch(91.79% 0.166 110)
XYZxyz(66.3926, 78.9705, 21.4163)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBED5A #5C5AED
analogous
#EDA65A #EBED5A #A2ED5A
triadic
#EBED5A #5AEBED #ED5AEB
tetradic
#EBED5A #5AEDA6 #5C5AED #ED5AA2
square
#EBED5A #5AEDA6 #5C5AED #ED5AA2
split-complementary
#EBED5A #5AA2ED #A65AED
monochromatic
#B6B814 #E4E723 #EBED5A #F2F391 #F8F9C8

Accessibility & contrast

On white

1.25
#EBED5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#EBED5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBED5A
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBED5A#FFFFFF#000000##000000
##EBED5A1.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE347
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#FADFCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ebed5a;
/* rgb */ color: rgb(235, 237, 90);
/* oklch */ color: oklch(91.8% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#f5f28f',
    500: '#ebed5a',
    950: '#000000',
  },
}
SCSS
$custom: #ebed5a;
$custom-light: #f5f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebed5a",
  "rgb": {
    "r": 235,
    "g": 237,
    "b": 90
  },
  "hsl": {
    "h": 60.816,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91793,
    "c": 0.16565,
    "h": 110
  },
  "luminance": 0.78969
}

Semantic roles & 50–950 ramp

primary
#EBED5A
secondary
#3533B8
accent
#09DD0C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBED5A

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

Preview Lab → · Contrast checker → · Palette generator →

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