#EBE76C#EBE76C

#EBE76C is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.7% C 0.145 H 107.3°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#EBE76C
RGBrgb(235, 231, 108)
HSLhsl(58, 76%, 67%)
HSVhsv(58, 54%, 92%)
CMYKcmyk(0%, 1.7%, 54%, 7.8%)
CIE-LABlab(89.81, -14.34, 59.35)
CIE-LCHlch(89.81, 61.06, 103.59°)
OKLaboklab(90.72% -0.0429 0.1383)
OKLCHoklch(90.72% 0.145 107.3)
XYZxyz(65.5455, 75.8986, 25.3816)
Luminance0.7590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE76C #6C70EB
analogous
#EBA76C #EBE76C #B0EB6C
triadic
#EBE76C #6CEBE7 #E76CEB
tetradic
#EBE76C #6CEBA7 #6C70EB #EB6CB0
square
#EBE76C #6CEBA7 #6C70EB #EB6CB0
split-complementary
#EBE76C #6CB0EB #A76CEB
monochromatic
#C2BD1A #E4DE36 #EBE76C #F2F0A2 #FAF9D8

Accessibility & contrast

On white

1.30
#EBE76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#EBE76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE76C
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE76C#FFFFFF#000000##000000
##EBE76C1.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FAE472
Tritanopia (blue-blind)
#FADACC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ebe76c;
/* rgb */ color: rgb(235, 231, 108);
/* oklch */ color: oklch(90.7% 0.145 107.3);
Tailwind
colors: {
  custom: {
    50: '#f4ee9a',
    500: '#ebe76c',
    950: '#000000',
  },
}
SCSS
$custom: #ebe76c;
$custom-light: #f4ee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe76c",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 58.11,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90721,
    "c": 0.14481,
    "h": 107.3
  },
  "luminance": 0.75897
}

Semantic roles & 50–950 ramp

primary
#EBE76C
secondary
#3B3FC0
accent
#14D80D
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE76C

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

Preview Lab → · Contrast checker → · Palette generator →

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