#EBD371#EBD371

#EBD371 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.7% C 0.121 H 95.9°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#EBD371
RGBrgb(235, 211, 113)
HSLhsl(48, 75%, 68%)
HSVhsv(48, 52%, 92%)
CMYKcmyk(0%, 10.2%, 51.9%, 7.8%)
CIE-LABlab(84.71, -3.91, 51.07)
CIE-LCHlch(84.71, 51.22, 94.38°)
OKLaboklab(86.69% -0.0125 0.1208)
OKLCHoklch(86.69% 0.121 95.9)
XYZxyz(60.5379, 65.4455, 25.0630)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD371 #7189EB
analogous
#EB9671 #EBD371 #C6EB71
triadic
#EBD371 #71EBD3 #D371EB
tetradic
#EBD371 #71EB96 #7189EB #EB71C6
square
#EBD371 #71EB96 #7189EB #EB71C6
split-complementary
#EBD371 #71C6EB #9671EB
monochromatic
#C6A41C #E3C23B #EBD371 #F3E4A7 #FAF4DC

Accessibility & contrast

On white

1.49
#EBD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#EBD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD371
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD371#FFFFFF#000000##000000
##EBD3711.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#FBC6BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd371;
/* rgb */ color: rgb(235, 211, 113);
/* oklch */ color: oklch(86.7% 0.121 95.9);
Tailwind
colors: {
  custom: {
    50: '#f4e09c',
    500: '#ebd371',
    950: '#000000',
  },
}
SCSS
$custom: #ebd371;
$custom-light: #f4e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd371",
  "rgb": {
    "r": 235,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 48.197,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86691,
    "c": 0.12147,
    "h": 95.9
  },
  "luminance": 0.65443
}

Semantic roles & 50–950 ramp

primary
#EBD371
secondary
#3D58C3
accent
#36D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD371

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

Preview Lab → · Contrast checker → · Palette generator →

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