#EBD257#EBD257

#EBD257 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.2% C 0.143 H 97.8°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#EBD257
RGBrgb(235, 210, 87)
HSLhsl(50, 79%, 63%)
HSVhsv(50, 63%, 92%)
CMYKcmyk(0%, 10.6%, 63%, 7.8%)
CIE-LABlab(84.20, -5.29, 62.29)
CIE-LCHlch(84.20, 62.52, 94.86°)
OKLaboklab(86.2% -0.0194 0.142)
OKLCHoklch(86.2% 0.143 97.8)
XYZxyz(59.0304, 64.4462, 18.3450)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD257 #5770EB
analogous
#EB8857 #EBD257 #BAEB57
triadic
#EBD257 #57EBD2 #D257EB
tetradic
#EBD257 #57EB88 #5770EB #EB57BA
square
#EBD257 #57EB88 #5770EB #EB57BA
split-complementary
#EBD257 #57BAEB #8857EB
monochromatic
#B29815 #E4C320 #EBD257 #F2E18E #F8EFC4

Accessibility & contrast

On white

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

On black

13.89
#EBD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD257
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD257#FFFFFF#000000##000000
##EBD2571.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD49
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#FCC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd257;
/* rgb */ color: rgb(235, 210, 87);
/* oklch */ color: oklch(86.2% 0.143 97.8);
Tailwind
colors: {
  custom: {
    50: '#f5df8b',
    500: '#ebd257',
    950: '#000000',
  },
}
SCSS
$custom: #ebd257;
$custom-light: #f5df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd257",
  "rgb": {
    "r": 235,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 49.865,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86199,
    "c": 0.14329,
    "h": 97.8
  },
  "luminance": 0.64443
}

Semantic roles & 50–950 ramp

primary
#EBD257
secondary
#3449B3
accent
#2EDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD257

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

Preview Lab → · Contrast checker → · Palette generator →

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