#EBE95F#EBE95F

#EBE95F is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.0% C 0.158 H 108.4°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#EBE95F
RGBrgb(235, 233, 95)
HSLhsl(59, 78%, 65%)
HSVhsv(59, 60%, 92%)
CMYKcmyk(0%, 0.9%, 59.6%, 7.8%)
CIE-LABlab(90.21, -16.25, 65.43)
CIE-LCHlch(90.21, 67.42, 103.95°)
OKLaboklab(91% -0.0497 0.1497)
OKLCHoklch(91% 0.158 108.4)
XYZxyz(65.4674, 76.7681, 22.1934)
Luminance0.7677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE95F #5F61EB
analogous
#EBA35F #EBE95F #A7EB5F
triadic
#EBE95F #5FEBE9 #E95FEB
tetradic
#EBE95F #5FEBA3 #5F61EB #EB5FA7
square
#EBE95F #5FEBA3 #5F61EB #EB5FA7
split-complementary
#EBE95F #5FA7EB #A35FEB
monochromatic
#B9B617 #E4E229 #EBE95F #F2F095 #F9F8CC

Accessibility & contrast

On white

1.28
#EBE95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#EBE95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE95F
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE95F#FFFFFF#000000##000000
##EBE95F1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04F
Deuteranopia (green-blind)
#FDE567
Tritanopia (blue-blind)
#FADBCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe95f;
/* rgb */ color: rgb(235, 233, 95);
/* oklch */ color: oklch(91.0% 0.158 108.4);
Tailwind
colors: {
  custom: {
    50: '#f4ef92',
    500: '#ebe95f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe95f;
$custom-light: #f4ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe95f",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 95
  },
  "hsl": {
    "h": 59.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91003,
    "c": 0.15776,
    "h": 108.4
  },
  "luminance": 0.76766
}

Semantic roles & 50–950 ramp

primary
#EBE95F
secondary
#3638B8
accent
#0EDA0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBE95F

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

Preview Lab → · Contrast checker → · Palette generator →

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