#EBE95A#EBE95A

#EBE95A is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.0% C 0.162 H 108.5°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#EBE95A
RGBrgb(235, 233, 90)
HSLhsl(59, 78%, 64%)
HSVhsv(59, 62%, 92%)
CMYKcmyk(0%, 0.9%, 61.7%, 7.8%)
CIE-LABlab(90.17, -16.57, 67.44)
CIE-LCHlch(90.17, 69.45, 103.81°)
OKLaboklab(90.96% -0.0512 0.1533)
OKLCHoklch(90.96% 0.162 108.5)
XYZxyz(65.2474, 76.6801, 21.0346)
Luminance0.7668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE95A #5A5CEB
analogous
#EBA05A #EBE95A #A4EB5A
triadic
#EBE95A #5AEBE9 #E95AEB
tetradic
#EBE95A #5AEBA0 #5A5CEB #EB5AA4
square
#EBE95A #5AEBA0 #5A5CEB #EB5AA4
split-complementary
#EBE95A #5AA4EB #A05AEB
monochromatic
#B5B316 #E4E223 #EBE95A #F2F091 #F8F8C7

Accessibility & contrast

On white

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

On black

16.34
#EBE95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE95A
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE95A#FFFFFF#000000##000000
##EBE95A1.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#FBDBCB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe95a;
/* rgb */ color: rgb(235, 233, 90);
/* oklch */ color: oklch(91.0% 0.162 108.5);
Tailwind
colors: {
  custom: {
    50: '#f5ef8f',
    500: '#ebe95a',
    950: '#000000',
  },
}
SCSS
$custom: #ebe95a;
$custom-light: #f5ef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe95a",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 90
  },
  "hsl": {
    "h": 59.172,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.90958,
    "c": 0.16161,
    "h": 108.5
  },
  "luminance": 0.76678
}

Semantic roles & 50–950 ramp

primary
#EBE95A
secondary
#3536B5
accent
#0EDB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBE95A

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

Preview Lab → · Contrast checker → · Palette generator →

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