#EBE85B#EBE85B

#EBE85B is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.8% C 0.160 H 108.0°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#EBE85B
RGBrgb(235, 232, 91)
HSLhsl(59, 78%, 64%)
HSVhsv(59, 61%, 92%)
CMYKcmyk(0%, 1.3%, 61.3%, 7.8%)
CIE-LABlab(89.92, -16.02, 66.76)
CIE-LCHlch(89.92, 68.66, 103.49°)
OKLaboklab(90.76% -0.0495 0.152)
OKLCHoklch(90.76% 0.16 108)
XYZxyz(65.0080, 76.1327, 21.1662)
Luminance0.7613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE85B #5B5EEB
analogous
#EBA05B #EBE85B #A6EB5B
triadic
#EBE85B #5BEBE8 #E85BEB
tetradic
#EBE85B #5BEBA0 #5B5EEB #EB5BA6
square
#EBE85B #5BEBA0 #5B5EEB #EB5BA6
split-complementary
#EBE85B #5BA6EB #A05BEB
monochromatic
#B5B216 #E4E024 #EBE85B #F2F092 #F8F7C8

Accessibility & contrast

On white

1.29
#EBE85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#EBE85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE85B
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE85B#FFFFFF#000000##000000
##EBE85B1.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF4A
Deuteranopia (green-blind)
#FCE564
Tritanopia (blue-blind)
#FBDACA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ebe85b;
/* rgb */ color: rgb(235, 232, 91);
/* oklch */ color: oklch(90.8% 0.160 108.0);
Tailwind
colors: {
  custom: {
    50: '#f5ef8f',
    500: '#ebe85b',
    950: '#000000',
  },
}
SCSS
$custom: #ebe85b;
$custom-light: #f5ef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe85b",
  "rgb": {
    "r": 235,
    "g": 232,
    "b": 91
  },
  "hsl": {
    "h": 58.75,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90759,
    "c": 0.15987,
    "h": 108
  },
  "luminance": 0.76131
}

Semantic roles & 50–950 ramp

primary
#EBE85B
secondary
#3538B5
accent
#0FDB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBE85B

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

Preview Lab → · Contrast checker → · Palette generator →

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