#EBD862#EBD862

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

Color values

HEX#EBD862
RGBrgb(235, 216, 98)
HSLhsl(52, 77%, 65%)
HSVhsv(52, 58%, 92%)
CMYKcmyk(0%, 8.1%, 58.3%, 7.8%)
CIE-LABlab(85.84, -7.60, 59.30)
CIE-LCHlch(85.84, 59.78, 97.30°)
OKLaboklab(87.53% -0.0248 0.1371)
OKLCHoklch(87.53% 0.139 100.2)
XYZxyz(61.0237, 67.6582, 21.3978)
Luminance0.6766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD862 #6275EB
analogous
#EB9462 #EBD862 #B9EB62
triadic
#EBD862 #62EBD8 #D862EB
tetradic
#EBD862 #62EB94 #6275EB #EB62B9
square
#EBD862 #62EB94 #6275EB #EB62B9
split-complementary
#EBD862 #62B9EB #9462EB
monochromatic
#BBA418 #E4CB2C #EBD862 #F2E598 #F9F3CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD862#FFFFFF#000000##000000
##EBD8621.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)
#EAD256
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#FBCABE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd862;
/* rgb */ color: rgb(235, 216, 98);
/* oklch */ color: oklch(87.5% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#f4e393',
    500: '#ebd862',
    950: '#000000',
  },
}
SCSS
$custom: #ebd862;
$custom-light: #f4e393;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd862",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 51.679,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87529,
    "c": 0.13927,
    "h": 100.2
  },
  "luminance": 0.67656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBD862

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

Preview Lab → · Contrast checker → · Palette generator →

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