#EBE951#EBE951

#EBE951 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 90.9% C 0.168 H 108.6°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#EBE951
RGBrgb(235, 233, 81)
HSLhsl(59, 79%, 62%)
HSVhsv(59, 66%, 92%)
CMYKcmyk(0%, 0.9%, 65.5%, 7.8%)
CIE-LABlab(90.11, -17.10, 70.91)
CIE-LCHlch(90.11, 72.94, 103.56°)
OKLaboklab(90.88% -0.0536 0.1593)
OKLCHoklch(90.88% 0.168 108.6)
XYZxyz(64.8873, 76.5360, 19.1379)
Luminance0.7653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE951 #5153EB
analogous
#EB9C51 #EBE951 #A0EB51
triadic
#EBE951 #51EBE9 #E951EB
tetradic
#EBE951 #51EB9C #5153EB #EB51A0
square
#EBE951 #51EB9C #5153EB #EB51A0
split-complementary
#EBE951 #51A0EB #9C51EB
monochromatic
#AEAC14 #E5E21A #EBE951 #F1F088 #F8F7BF

Accessibility & contrast

On white

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

On black

16.31
#EBE951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE951
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE951#FFFFFF#000000##000000
##EBE9511.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03B
Deuteranopia (green-blind)
#FEE55B
Tritanopia (blue-blind)
#FBDBCA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe951;
/* rgb */ color: rgb(235, 233, 81);
/* oklch */ color: oklch(90.9% 0.168 108.6);
Tailwind
colors: {
  custom: {
    50: '#f5ef8a',
    500: '#ebe951',
    950: '#000000',
  },
}
SCSS
$custom: #ebe951;
$custom-light: #f5ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe951",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 59.221,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.90884,
    "c": 0.16806,
    "h": 108.6
  },
  "luminance": 0.76534
}

Semantic roles & 50–950 ramp

primary
#EBE951
secondary
#3233AE
accent
#0DDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EBE951

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

Preview Lab → · Contrast checker → · Palette generator →

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