#EBD251#EBD251

#EBD251 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.148 H 98.2°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#EBD251
RGBrgb(235, 210, 81)
HSLhsl(50, 79%, 62%)
HSVhsv(50, 66%, 92%)
CMYKcmyk(0%, 10.6%, 65.5%, 7.8%)
CIE-LABlab(84.15, -5.65, 64.75)
CIE-LCHlch(84.15, 65.00, 94.98°)
OKLaboklab(86.15% -0.0211 0.1463)
OKLCHoklch(86.15% 0.148 98.2)
XYZxyz(58.7954, 64.3522, 17.1072)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD251 #516AEB
analogous
#EB8551 #EBD251 #B7EB51
triadic
#EBD251 #51EBD2 #D251EB
tetradic
#EBD251 #51EB85 #516AEB #EB51B7
square
#EBD251 #51EB85 #516AEB #EB51B7
split-complementary
#EBD251 #51B7EB #8551EB
monochromatic
#AE9514 #E5C41A #EBD251 #F1E088 #F8EEBF

Accessibility & contrast

On white

1.51
#EBD251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#EBD251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD251
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD251#FFFFFF#000000##000000
##EBD2511.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD41
Deuteranopia (green-blind)
#ECD658
Tritanopia (blue-blind)
#FDC3B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd251;
/* rgb */ color: rgb(235, 210, 81);
/* oklch */ color: oklch(86.1% 0.148 98.2);
Tailwind
colors: {
  custom: {
    50: '#f5df88',
    500: '#ebd251',
    950: '#000000',
  },
}
SCSS
$custom: #ebd251;
$custom-light: #f5df88;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd251",
  "rgb": {
    "r": 235,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 50.26,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86145,
    "c": 0.14779,
    "h": 98.2
  },
  "luminance": 0.64349
}

Semantic roles & 50–950 ramp

primary
#EBD251
secondary
#3246AE
accent
#2CDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD251

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

Preview Lab → · Contrast checker → · Palette generator →

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