#EBD771#EBD771

#EBD771 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.125 H 98.5°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#EBD771
RGBrgb(235, 215, 113)
HSLhsl(50, 75%, 68%)
HSVhsv(50, 52%, 92%)
CMYKcmyk(0%, 8.5%, 51.9%, 7.8%)
CIE-LABlab(85.73, -5.94, 52.29)
CIE-LCHlch(85.73, 52.63, 96.49°)
OKLaboklab(87.5% -0.0184 0.1235)
OKLCHoklch(87.5% 0.125 98.5)
XYZxyz(61.5441, 67.4577, 25.3984)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD771 #7185EB
analogous
#EB9A71 #EBD771 #C2EB71
triadic
#EBD771 #71EBD7 #D771EB
tetradic
#EBD771 #71EB9A #7185EB #EB71C2
square
#EBD771 #71EB9A #7185EB #EB71C2
split-complementary
#EBD771 #71C2EB #9A71EB
monochromatic
#C6AA1C #E3C83B #EBD771 #F3E6A7 #FAF5DC

Accessibility & contrast

On white

1.45
#EBD771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#EBD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD771
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD771#FFFFFF#000000##000000
##EBD7711.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#EEDA75
Tritanopia (blue-blind)
#FBCABF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd771;
/* rgb */ color: rgb(235, 215, 113);
/* oklch */ color: oklch(87.5% 0.125 98.5);
Tailwind
colors: {
  custom: {
    50: '#f4e39c',
    500: '#ebd771',
    950: '#000000',
  },
}
SCSS
$custom: #ebd771;
$custom-light: #f4e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd771",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 50.164,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.875,
    "c": 0.12485,
    "h": 98.5
  },
  "luminance": 0.67455
}

Semantic roles & 50–950 ramp

primary
#EBD771
secondary
#3D53C3
accent
#2FD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD771

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

Preview Lab → · Contrast checker → · Palette generator →

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