#EBC651#EBC651

#EBC651 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.7% C 0.139 H 91.4°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#EBC651
RGBrgb(235, 198, 81)
HSLhsl(46, 79%, 62%)
HSVhsv(46, 66%, 92%)
CMYKcmyk(0%, 15.7%, 65.5%, 7.8%)
CIE-LABlab(81.10, 0.50, 61.53)
CIE-LCHlch(81.10, 61.53, 89.53°)
OKLaboklab(83.73% -0.0035 0.1395)
OKLCHoklch(83.73% 0.139 91.4)
XYZxyz(55.9431, 58.6476, 16.1565)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC651 #5176EB
analogous
#EB7951 #EBC651 #C3EB51
triadic
#EBC651 #51EBC6 #C651EB
tetradic
#EBC651 #51EB79 #5176EB #EB51C3
square
#EBC651 #51EB79 #5176EB #EB51C3
split-complementary
#EBC651 #51C3EB #7951EB
monochromatic
#AE8914 #E5B41A #EBC651 #F1D888 #F8EABF

Accessibility & contrast

On white

1.65
#EBC651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#EBC651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC651
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC651#FFFFFF#000000##000000
##EBC6511.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#E4CE56
Tritanopia (blue-blind)
#FDB7AD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ebc651;
/* rgb */ color: rgb(235, 198, 81);
/* oklch */ color: oklch(83.7% 0.139 91.4);
Tailwind
colors: {
  custom: {
    50: '#f5d787',
    500: '#ebc651',
    950: '#000000',
  },
}
SCSS
$custom: #ebc651;
$custom-light: #f5d787;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc651",
  "rgb": {
    "r": 235,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 45.584,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83732,
    "c": 0.13949,
    "h": 91.4
  },
  "luminance": 0.58644
}

Semantic roles & 50–950 ramp

primary
#EBC651
secondary
#3250AE
accent
#3CDC0A
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC651

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

Preview Lab → · Contrast checker → · Palette generator →

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