#EBD351#EBD351

#EBD351 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.3% C 0.149 H 98.7°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#EBD351
RGBrgb(235, 211, 81)
HSLhsl(51, 79%, 62%)
HSVhsv(51, 66%, 92%)
CMYKcmyk(0%, 10.2%, 65.5%, 7.8%)
CIE-LABlab(84.41, -6.16, 65.02)
CIE-LCHlch(84.41, 65.31, 95.41°)
OKLaboklab(86.35% -0.0225 0.1469)
OKLCHoklch(86.35% 0.149 98.7)
XYZxyz(59.0430, 64.8475, 17.1898)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD351 #5169EB
analogous
#EB8651 #EBD351 #B6EB51
triadic
#EBD351 #51EBD3 #D351EB
tetradic
#EBD351 #51EB86 #5169EB #EB51B6
square
#EBD351 #51EB86 #5169EB #EB51B6
split-complementary
#EBD351 #51B6EB #8651EB
monochromatic
#AE9614 #E5C51A #EBD351 #F1E188 #F8EFBF

Accessibility & contrast

On white

1.50
#EBD351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#EBD351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD351
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD351#FFFFFF#000000##000000
##EBD3511.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#EDD658
Tritanopia (blue-blind)
#FDC4B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd351;
/* rgb */ color: rgb(235, 211, 81);
/* oklch */ color: oklch(86.3% 0.149 98.7);
Tailwind
colors: {
  custom: {
    50: '#f5e088',
    500: '#ebd351',
    950: '#000000',
  },
}
SCSS
$custom: #ebd351;
$custom-light: #f5e088;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd351",
  "rgb": {
    "r": 235,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 50.649,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86348,
    "c": 0.14857,
    "h": 98.7
  },
  "luminance": 0.64845
}

Semantic roles & 50–950 ramp

primary
#EBD351
secondary
#3245AE
accent
#2BDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD351

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

Preview Lab → · Contrast checker → · Palette generator →

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