#EBCF51#EBCF51

#EBCF51 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.5% C 0.146 H 96.6°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#EBCF51
RGBrgb(235, 207, 81)
HSLhsl(49, 79%, 62%)
HSVhsv(49, 66%, 92%)
CMYKcmyk(0%, 11.9%, 65.5%, 7.8%)
CIE-LABlab(83.38, -4.12, 63.94)
CIE-LCHlch(83.38, 64.08, 93.69°)
OKLaboklab(85.54% -0.0167 0.1446)
OKLCHoklch(85.54% 0.146 96.6)
XYZxyz(58.0617, 62.8848, 16.8627)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCF51 #516DEB
analogous
#EB8251 #EBCF51 #BAEB51
triadic
#EBCF51 #51EBCF #CF51EB
tetradic
#EBCF51 #51EB82 #516DEB #EB51BA
square
#EBCF51 #51EB82 #516DEB #EB51BA
split-complementary
#EBCF51 #51BAEB #8251EB
monochromatic
#AE9214 #E5C01A #EBCF51 #F1DE88 #F8EDBF

Accessibility & contrast

On white

1.55
#EBCF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#EBCF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCF51
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCF51#FFFFFF#000000##000000
##EBCF511.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA41
Deuteranopia (green-blind)
#EAD458
Tritanopia (blue-blind)
#FDC0B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ebcf51;
/* rgb */ color: rgb(235, 207, 81);
/* oklch */ color: oklch(85.5% 0.146 96.6);
Tailwind
colors: {
  custom: {
    50: '#f5dd88',
    500: '#ebcf51',
    950: '#000000',
  },
}
SCSS
$custom: #ebcf51;
$custom-light: #f5dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcf51",
  "rgb": {
    "r": 235,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 49.091,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85538,
    "c": 0.14553,
    "h": 96.6
  },
  "luminance": 0.62882
}

Semantic roles & 50–950 ramp

primary
#EBCF51
secondary
#3248AE
accent
#30DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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