#EBE956#EBE956

#EBE956 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.9% C 0.165 H 108.5°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#EBE956
RGBrgb(235, 233, 86)
HSLhsl(59, 79%, 63%)
HSVhsv(59, 63%, 92%)
CMYKcmyk(0%, 0.9%, 63.4%, 7.8%)
CIE-LABlab(90.14, -16.81, 69.01)
CIE-LCHlch(90.14, 71.03, 103.69°)
OKLaboklab(90.92% -0.0523 0.156)
OKLCHoklch(90.92% 0.165 108.5)
XYZxyz(65.0817, 76.6138, 20.1620)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE956 #5658EB
analogous
#EB9F56 #EBE956 #A2EB56
triadic
#EBE956 #56EBE9 #E956EB
tetradic
#EBE956 #56EB9F #5658EB #EB56A2
square
#EBE956 #56EB9F #5658EB #EB56A2
split-complementary
#EBE956 #56A2EB #9F56EB
monochromatic
#B2AF15 #E5E21F #EBE956 #F1F08D #F8F7C3

Accessibility & contrast

On white

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

On black

16.32
#EBE956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE956
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE956#FFFFFF#000000##000000
##EBE9561.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebe956;
/* rgb */ color: rgb(235, 233, 86);
/* oklch */ color: oklch(90.9% 0.165 108.5);
Tailwind
colors: {
  custom: {
    50: '#f5ef8c',
    500: '#ebe956',
    950: '#000000',
  },
}
SCSS
$custom: #ebe956;
$custom-light: #f5ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe956",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 59.195,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90924,
    "c": 0.16456,
    "h": 108.5
  },
  "luminance": 0.76612
}

Semantic roles & 50–950 ramp

primary
#EBE956
secondary
#3335B2
accent
#0DDB0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBE956

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

Preview Lab → · Contrast checker → · Palette generator →

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