#EBE35B#EBE35B

#EBE35B is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.7% C 0.155 H 105.9°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#EBE35B
RGBrgb(235, 227, 91)
HSLhsl(57, 78%, 64%)
HSVhsv(57, 61%, 92%)
CMYKcmyk(0%, 3.4%, 61.3%, 7.8%)
CIE-LABlab(88.62, -13.56, 65.37)
CIE-LCHlch(88.62, 66.76, 101.72°)
OKLaboklab(89.72% -0.0425 0.149)
OKLCHoklch(89.72% 0.155 105.9)
XYZxyz(63.6206, 73.3578, 20.7037)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE35B #5B63EB
analogous
#EB9B5B #EBE35B #ABEB5B
triadic
#EBE35B #5BEBE3 #E35BEB
tetradic
#EBE35B #5BEB9B #5B63EB #EB5BAB
square
#EBE35B #5BEB9B #5B63EB #EB5BAB
split-complementary
#EBE35B #5BABEB #9B5BEB
monochromatic
#B5AD16 #E4DA24 #EBE35B #F2EC92 #F8F6C8

Accessibility & contrast

On white

1.34
#EBE35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#EBE35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE35B
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE35B#FFFFFF#000000##000000
##EBE35B1.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB4B
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#FBD5C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe35b;
/* rgb */ color: rgb(235, 227, 91);
/* oklch */ color: oklch(89.7% 0.155 105.9);
Tailwind
colors: {
  custom: {
    50: '#f5eb8f',
    500: '#ebe35b',
    950: '#000000',
  },
}
SCSS
$custom: #ebe35b;
$custom-light: #f5eb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe35b",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 91
  },
  "hsl": {
    "h": 56.667,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89721,
    "c": 0.155,
    "h": 105.9
  },
  "luminance": 0.73356
}

Semantic roles & 50–950 ramp

primary
#EBE35B
secondary
#353CB5
accent
#17DB0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE35B

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

Preview Lab → · Contrast checker → · Palette generator →

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