#EBD971#EBD971

#EBD971 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.127 H 99.7°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#EBD971
RGBrgb(235, 217, 113)
HSLhsl(51, 75%, 68%)
HSVhsv(51, 52%, 92%)
CMYKcmyk(0%, 7.7%, 51.9%, 7.8%)
CIE-LABlab(86.25, -6.96, 52.90)
CIE-LCHlch(86.25, 53.35, 97.49°)
OKLaboklab(87.91% -0.0213 0.1248)
OKLCHoklch(87.91% 0.127 99.7)
XYZxyz(62.0564, 68.4825, 25.5692)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD971 #7183EB
analogous
#EB9C71 #EBD971 #C0EB71
triadic
#EBD971 #71EBD9 #D971EB
tetradic
#EBD971 #71EB9C #7183EB #EB71C0
square
#EBD971 #71EB9C #7183EB #EB71C0
split-complementary
#EBD971 #71C0EB #9C71EB
monochromatic
#C6AD1C #E3CB3B #EBD971 #F3E7A7 #FAF6DC

Accessibility & contrast

On white

1.43
#EBD971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#EBD971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD971
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD971#FFFFFF#000000##000000
##EBD9711.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD468
Deuteranopia (green-blind)
#EFDB76
Tritanopia (blue-blind)
#FACCC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd971;
/* rgb */ color: rgb(235, 217, 113);
/* oklch */ color: oklch(87.9% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#f4e49c',
    500: '#ebd971',
    950: '#000000',
  },
}
SCSS
$custom: #ebd971;
$custom-light: #f4e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd971",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 51.148,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87906,
    "c": 0.12662,
    "h": 99.7
  },
  "luminance": 0.6848
}

Semantic roles & 50–950 ramp

primary
#EBD971
secondary
#3D51C3
accent
#2CD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD971

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

Preview Lab → · Contrast checker → · Palette generator →

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