#EBE46C#EBE46C

#EBE46C is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.1% C 0.142 H 105.9°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#EBE46C
RGBrgb(235, 228, 108)
HSLhsl(57, 76%, 67%)
HSVhsv(57, 54%, 92%)
CMYKcmyk(0%, 3%, 54%, 7.8%)
CIE-LABlab(89.03, -12.86, 58.45)
CIE-LCHlch(89.03, 59.85, 102.41°)
OKLaboklab(90.1% -0.0387 0.1364)
OKLCHoklch(90.1% 0.142 105.9)
XYZxyz(64.7130, 74.2337, 25.1041)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE46C #6C73EB
analogous
#EBA56C #EBE46C #B3EB6C
triadic
#EBE46C #6CEBE4 #E46CEB
tetradic
#EBE46C #6CEBA5 #6C73EB #EB6CB3
square
#EBE46C #6CEBA5 #6C73EB #EB6CB3
split-complementary
#EBE46C #6CB3EB #A56CEB
monochromatic
#C2B91A #E4DA36 #EBE46C #F2EEA2 #FAF8D8

Accessibility & contrast

On white

1.33
#EBE46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#EBE46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE46C
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE46C#FFFFFF#000000##000000
##EBE46C1.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD60
Deuteranopia (green-blind)
#F8E272
Tritanopia (blue-blind)
#FAD7C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe46c;
/* rgb */ color: rgb(235, 228, 108);
/* oklch */ color: oklch(90.1% 0.142 105.9);
Tailwind
colors: {
  custom: {
    50: '#f4ec9a',
    500: '#ebe46c',
    950: '#000000',
  },
}
SCSS
$custom: #ebe46c;
$custom-light: #f4ec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe46c",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 108
  },
  "hsl": {
    "h": 56.693,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.901,
    "c": 0.14176,
    "h": 105.9
  },
  "luminance": 0.74232
}

Semantic roles & 50–950 ramp

primary
#EBE46C
secondary
#3B42C0
accent
#18D80D
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE46C

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

Preview Lab → · Contrast checker → · Palette generator →

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