#EBE971#EBE971

#EBE971 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.2% C 0.142 H 108.0°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#EBE971
RGBrgb(235, 233, 113)
HSLhsl(59, 75%, 68%)
HSVhsv(59, 52%, 92%)
CMYKcmyk(0%, 0.9%, 51.9%, 7.8%)
CIE-LABlab(90.38, -14.93, 57.75)
CIE-LCHlch(90.38, 59.65, 104.50°)
OKLaboklab(91.19% -0.0441 0.1354)
OKLCHoklch(91.19% 0.142 108)
XYZxyz(66.3822, 77.1340, 27.0111)
Luminance0.7713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE971 #7173EB
analogous
#EBAC71 #EBE971 #B0EB71
triadic
#EBE971 #71EBE9 #E971EB
tetradic
#EBE971 #71EBAC #7173EB #EB71B0
square
#EBE971 #71EBAC #7173EB #EB71B0
split-complementary
#EBE971 #71B0EB #AC71EB
monochromatic
#C6C31C #E3E13B #EBE971 #F3F1A7 #FAFADC

Accessibility & contrast

On white

1.28
#EBE971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#EBE971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE971
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE971#FFFFFF#000000##000000
##EBE9711.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E165
Deuteranopia (green-blind)
#FBE677
Tritanopia (blue-blind)
#F9DCCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe971;
/* rgb */ color: rgb(235, 233, 113);
/* oklch */ color: oklch(91.2% 0.142 108.0);
Tailwind
colors: {
  custom: {
    50: '#f4ef9d',
    500: '#ebe971',
    950: '#000000',
  },
}
SCSS
$custom: #ebe971;
$custom-light: #f4ef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe971",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 59.016,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91192,
    "c": 0.14237,
    "h": 108
  },
  "luminance": 0.77132
}

Semantic roles & 50–950 ramp

primary
#EBE971
secondary
#3D3FC3
accent
#11D70E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #EBE971

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

Preview Lab → · Contrast checker → · Palette generator →

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