#EBD571#EBD571

#EBD571 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.1% C 0.123 H 97.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#EBD571
RGBrgb(235, 213, 113)
HSLhsl(49, 75%, 68%)
HSVhsv(49, 52%, 92%)
CMYKcmyk(0%, 9.4%, 51.9%, 7.8%)
CIE-LABlab(85.22, -4.93, 51.68)
CIE-LCHlch(85.22, 51.92, 95.45°)
OKLaboklab(87.1% -0.0154 0.1222)
OKLCHoklch(87.1% 0.123 97.2)
XYZxyz(61.0379, 66.4454, 25.2297)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD571 #7187EB
analogous
#EB9871 #EBD571 #C4EB71
triadic
#EBD571 #71EBD5 #D571EB
tetradic
#EBD571 #71EB98 #7187EB #EB71C4
square
#EBD571 #71EB98 #7187EB #EB71C4
split-complementary
#EBD571 #71C4EB #9871EB
monochromatic
#C6A71C #E3C53B #EBD571 #F3E5A7 #FAF5DC

Accessibility & contrast

On white

1.47
#EBD571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#EBD571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD571
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD571#FFFFFF#000000##000000
##EBD5711.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D168
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#FBC8BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd571;
/* rgb */ color: rgb(235, 213, 113);
/* oklch */ color: oklch(87.1% 0.123 97.2);
Tailwind
colors: {
  custom: {
    50: '#f4e19c',
    500: '#ebd571',
    950: '#000000',
  },
}
SCSS
$custom: #ebd571;
$custom-light: #f4e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd571",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 49.18,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87095,
    "c": 0.12313,
    "h": 97.2
  },
  "luminance": 0.66443
}

Semantic roles & 50–950 ramp

primary
#EBD571
secondary
#3D55C3
accent
#32D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD571

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

Preview Lab → · Contrast checker → · Palette generator →

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