#EBC851#EBC851

#EBC851 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 84.1% C 0.141 H 92.6°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#EBC851
RGBrgb(235, 200, 81)
HSLhsl(46, 79%, 62%)
HSVhsv(46, 66%, 92%)
CMYKcmyk(0%, 14.9%, 65.5%, 7.8%)
CIE-LABlab(81.60, -0.53, 62.06)
CIE-LCHlch(81.60, 62.07, 90.49°)
OKLaboklab(84.13% -0.0064 0.1406)
OKLCHoklch(84.13% 0.141 92.6)
XYZxyz(56.4032, 59.5679, 16.3099)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC851 #5174EB
analogous
#EB7B51 #EBC851 #C1EB51
triadic
#EBC851 #51EBC8 #C851EB
tetradic
#EBC851 #51EB7B #5174EB #EB51C1
square
#EBC851 #51EB7B #5174EB #EB51C1
split-complementary
#EBC851 #51C1EB #7B51EB
monochromatic
#AE8B14 #E5B71A #EBC851 #F1D988 #F8EBBF

Accessibility & contrast

On white

1.63
#EBC851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#EBC851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC851
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC851#FFFFFF#000000##000000
##EBC8511.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#FDB9AF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ebc851;
/* rgb */ color: rgb(235, 200, 81);
/* oklch */ color: oklch(84.1% 0.141 92.6);
Tailwind
colors: {
  custom: {
    50: '#f5d887',
    500: '#ebc851',
    950: '#000000',
  },
}
SCSS
$custom: #ebc851;
$custom-light: #f5d887;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc851",
  "rgb": {
    "r": 235,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 46.364,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84131,
    "c": 0.14074,
    "h": 92.6
  },
  "luminance": 0.59565
}

Semantic roles & 50–950 ramp

primary
#EBC851
secondary
#324EAE
accent
#3ADC0A
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC851

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

Preview Lab → · Contrast checker → · Palette generator →

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