#EBE56F#EBE56F

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

Color values

HEX#EBE56F
RGBrgb(235, 229, 111)
HSLhsl(57, 76%, 68%)
HSVhsv(57, 53%, 92%)
CMYKcmyk(0%, 2.6%, 52.8%, 7.8%)
CIE-LABlab(89.32, -13.12, 57.43)
CIE-LCHlch(89.32, 58.91, 102.87°)
OKLaboklab(90.34% -0.0391 0.1345)
OKLCHoklch(90.34% 0.14 106.2)
XYZxyz(65.1513, 74.8504, 26.0515)
Luminance0.7485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE56F #6F75EB
analogous
#EBA76F #EBE56F #B3EB6F
triadic
#EBE56F #6FEBE5 #E56FEB
tetradic
#EBE56F #6FEBA7 #6F75EB #EB6FB3
square
#EBE56F #6FEBA7 #6F75EB #EB6FB3
split-complementary
#EBE56F #6FB3EB #A76FEB
monochromatic
#C4BC1B #E4DB39 #EBE56F #F2EFA5 #FAF8DA

Accessibility & contrast

On white

1.31
#EBE56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#EBE56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE56F
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE56F#FFFFFF#000000##000000
##EBE56F1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE64
Deuteranopia (green-blind)
#F9E375
Tritanopia (blue-blind)
#FAD8CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe56f;
/* rgb */ color: rgb(235, 229, 111);
/* oklch */ color: oklch(90.3% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#f4ed9b',
    500: '#ebe56f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe56f;
$custom-light: #f4ed9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe56f",
  "rgb": {
    "r": 235,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 57.097,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90341,
    "c": 0.14005,
    "h": 106.2
  },
  "luminance": 0.74848
}

Semantic roles & 50–950 ramp

primary
#EBE56F
secondary
#3C42C2
accent
#17D80E
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE56F

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

Preview Lab → · Contrast checker → · Palette generator →

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