#EBC151#EBC151

#EBC151 is a very light, vivid orange. Relative luminance 0.564; OKLCH L 82.7% C 0.137 H 88.3°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#EBC151
RGBrgb(235, 193, 81)
HSLhsl(44, 79%, 62%)
HSVhsv(44, 66%, 92%)
CMYKcmyk(0%, 17.9%, 65.5%, 7.8%)
CIE-LABlab(79.84, 3.09, 60.18)
CIE-LCHlch(79.84, 60.26, 87.06°)
OKLaboklab(82.74% 0.004 0.1366)
OKLCHoklch(82.74% 0.137 88.3)
XYZxyz(54.8190, 56.3995, 15.7818)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC151 #517BEB
analogous
#EB7451 #EBC151 #C8EB51
triadic
#EBC151 #51EBC1 #C151EB
tetradic
#EBC151 #51EB74 #517BEB #EB51C8
square
#EBC151 #51EB74 #517BEB #EB51C8
split-complementary
#EBC151 #51C8EB #7451EB
monochromatic
#AE8414 #E5AD1A #EBC151 #F1D588 #F8E8BF

Accessibility & contrast

On white

1.71
#EBC151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#EBC151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC151
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC151#FFFFFF#000000##000000
##EBC1511.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#E0CB56
Tritanopia (blue-blind)
#FEB2A9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ebc151;
/* rgb */ color: rgb(235, 193, 81);
/* oklch */ color: oklch(82.7% 0.137 88.3);
Tailwind
colors: {
  custom: {
    50: '#f5d387',
    500: '#ebc151',
    950: '#000000',
  },
}
SCSS
$custom: #ebc151;
$custom-light: #f5d387;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc151",
  "rgb": {
    "r": 235,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 43.636,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82741,
    "c": 0.13666,
    "h": 88.3
  },
  "luminance": 0.56396
}

Semantic roles & 50–950 ramp

primary
#EBC151
secondary
#3254AE
accent
#43DC0A
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC151

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

Preview Lab → · Contrast checker → · Palette generator →

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