#EBE56C#EBE56C

#EBE56C is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.3% C 0.143 H 106.3°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#EBE56C
RGBrgb(235, 229, 108)
HSLhsl(57, 76%, 67%)
HSVhsv(57, 54%, 92%)
CMYKcmyk(0%, 2.6%, 54%, 7.8%)
CIE-LABlab(89.29, -13.36, 58.75)
CIE-LCHlch(89.29, 60.25, 102.81°)
OKLaboklab(90.31% -0.0401 0.137)
OKLCHoklch(90.31% 0.143 106.3)
XYZxyz(64.9889, 74.7854, 25.1961)
Luminance0.7478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE56C #6C72EB
analogous
#EBA56C #EBE56C #B2EB6C
triadic
#EBE56C #6CEBE5 #E56CEB
tetradic
#EBE56C #6CEBA5 #6C72EB #EB6CB2
square
#EBE56C #6CEBA5 #6C72EB #EB6CB2
split-complementary
#EBE56C #6CB2EB #A56CEB
monochromatic
#C2BA1A #E4DB36 #EBE56C #F2EFA2 #FAF8D8

Accessibility & contrast

On white

1.32
#EBE56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#EBE56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE56C
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE56C#FFFFFF#000000##000000
##EBE56C1.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD60
Deuteranopia (green-blind)
#F9E372
Tritanopia (blue-blind)
#FAD8CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe56c;
/* rgb */ color: rgb(235, 229, 108);
/* oklch */ color: oklch(90.3% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#f4ed9a',
    500: '#ebe56c',
    950: '#000000',
  },
}
SCSS
$custom: #ebe56c;
$custom-light: #f4ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe56c",
  "rgb": {
    "r": 235,
    "g": 229,
    "b": 108
  },
  "hsl": {
    "h": 57.165,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90307,
    "c": 0.14277,
    "h": 106.3
  },
  "luminance": 0.74784
}

Semantic roles & 50–950 ramp

primary
#EBE56C
secondary
#3B41C0
accent
#17D80D
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE56C

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

Preview Lab → · Contrast checker → · Palette generator →

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