#EBE56B#EBE56B

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

Color values

HEX#EBE56B
RGBrgb(235, 229, 107)
HSLhsl(57, 76%, 67%)
HSVhsv(57, 54%, 92%)
CMYKcmyk(0%, 2.6%, 54.5%, 7.8%)
CIE-LABlab(89.28, -13.43, 59.19)
CIE-LCHlch(89.28, 60.69, 102.79°)
OKLaboklab(90.3% -0.0405 0.1378)
OKLCHoklch(90.3% 0.144 106.4)
XYZxyz(64.9360, 74.7643, 24.9174)
Luminance0.7476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE56B #6B71EB
analogous
#EBA56B #EBE56B #B1EB6B
triadic
#EBE56B #6BEBE5 #E56BEB
tetradic
#EBE56B #6BEBA5 #6B71EB #EB6BB1
square
#EBE56B #6BEBA5 #6B71EB #EB6BB1
split-complementary
#EBE56B #6BB1EB #A56BEB
monochromatic
#C1BA1A #E4DC35 #EBE56B #F2EEA1 #FAF8D7

Accessibility & contrast

On white

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

On black

15.95
#EBE56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE56B
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE56B#FFFFFF#000000##000000
##EBE56B1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebe56b;
/* rgb */ color: rgb(235, 229, 107);
/* oklch */ color: oklch(90.3% 0.144 106.4);
Tailwind
colors: {
  custom: {
    50: '#f4ed99',
    500: '#ebe56b',
    950: '#000000',
  },
}
SCSS
$custom: #ebe56b;
$custom-light: #f4ed99;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe56b",
  "rgb": {
    "r": 235,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 57.188,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90296,
    "c": 0.14366,
    "h": 106.4
  },
  "luminance": 0.74762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBE56B

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

Preview Lab → · Contrast checker → · Palette generator →

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