#EBD861#EBD861

#EBD861 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.140 H 100.3°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#EBD861
RGBrgb(235, 216, 97)
HSLhsl(52, 78%, 65%)
HSVhsv(52, 59%, 92%)
CMYKcmyk(0%, 8.1%, 58.7%, 7.8%)
CIE-LABlab(85.83, -7.67, 59.73)
CIE-LCHlch(85.83, 60.22, 97.32°)
OKLaboklab(87.52% -0.0251 0.1379)
OKLCHoklch(87.52% 0.14 100.3)
XYZxyz(60.9768, 67.6394, 21.1507)
Luminance0.6764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD861 #6174EB
analogous
#EB9361 #EBD861 #B9EB61
triadic
#EBD861 #61EBD8 #D861EB
tetradic
#EBD861 #61EB93 #6174EB #EB61B9
square
#EBD861 #61EB93 #6174EB #EB61B9
split-complementary
#EBD861 #61B9EB #9361EB
monochromatic
#BAA418 #E4CB2B #EBD861 #F2E597 #F9F3CE

Accessibility & contrast

On white

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

On black

14.53
#EBD861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD861
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD861#FFFFFF#000000##000000
##EBD8611.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD254
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FBCABE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd861;
/* rgb */ color: rgb(235, 216, 97);
/* oklch */ color: oklch(87.5% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#f4e392',
    500: '#ebd861',
    950: '#000000',
  },
}
SCSS
$custom: #ebd861;
$custom-light: #f4e392;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd861",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 51.739,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87519,
    "c": 0.14011,
    "h": 100.3
  },
  "luminance": 0.67637
}

Semantic roles & 50–950 ramp

primary
#EBD861
secondary
#3749B9
accent
#28DA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD861

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

Preview Lab → · Contrast checker → · Palette generator →

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