#EBE85F#EBE85F

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

Color values

HEX#EBE85F
RGBrgb(235, 232, 95)
HSLhsl(59, 78%, 65%)
HSVhsv(59, 60%, 92%)
CMYKcmyk(0%, 1.3%, 59.6%, 7.8%)
CIE-LABlab(89.95, -15.76, 65.14)
CIE-LCHlch(89.95, 67.02, 103.60°)
OKLaboklab(90.8% -0.0484 0.1491)
OKLCHoklch(90.8% 0.157 108)
XYZxyz(65.1852, 76.2035, 22.0993)
Luminance0.7620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE85F #5F62EB
analogous
#EBA25F #EBE85F #A8EB5F
triadic
#EBE85F #5FEBE8 #E85FEB
tetradic
#EBE85F #5FEBA2 #5F62EB #EB5FA8
square
#EBE85F #5FEBA2 #5F62EB #EB5FA8
split-complementary
#EBE85F #5FA8EB #A25FEB
monochromatic
#B9B517 #E4E029 #EBE85F #F2F095 #F9F8CC

Accessibility & contrast

On white

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

On black

16.24
#EBE85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE85F
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE85F#FFFFFF#000000##000000
##EBE85F1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF4F
Deuteranopia (green-blind)
#FCE567
Tritanopia (blue-blind)
#FBDACB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ebe85f;
/* rgb */ color: rgb(235, 232, 95);
/* oklch */ color: oklch(90.8% 0.157 108.0);
Tailwind
colors: {
  custom: {
    50: '#f4ef92',
    500: '#ebe85f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe85f;
$custom-light: #f4ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe85f",
  "rgb": {
    "r": 235,
    "g": 232,
    "b": 95
  },
  "hsl": {
    "h": 58.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90795,
    "c": 0.15676,
    "h": 108
  },
  "luminance": 0.76202
}

Semantic roles & 50–950 ramp

primary
#EBE85F
secondary
#3639B8
accent
#10DA0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBE85F

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

Preview Lab → · Contrast checker → · Palette generator →

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