#EBD762#EBD762

#EBD762 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.138 H 99.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#EBD762
RGBrgb(235, 215, 98)
HSLhsl(51, 77%, 65%)
HSVhsv(51, 58%, 92%)
CMYKcmyk(0%, 8.5%, 58.3%, 7.8%)
CIE-LABlab(85.58, -7.10, 59.01)
CIE-LCHlch(85.58, 59.44, 96.86°)
OKLaboklab(87.33% -0.0233 0.1364)
OKLCHoklch(87.33% 0.138 99.7)
XYZxyz(60.7683, 67.1474, 21.3127)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD762 #6276EB
analogous
#EB9262 #EBD762 #BAEB62
triadic
#EBD762 #62EBD7 #D762EB
tetradic
#EBD762 #62EB92 #6276EB #EB62BA
square
#EBD762 #62EB92 #6276EB #EB62BA
split-complementary
#EBD762 #62BAEB #9262EB
monochromatic
#BBA318 #E4C92C #EBD762 #F2E598 #F9F3CF

Accessibility & contrast

On white

1.46
#EBD762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#EBD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD762
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD762#FFFFFF#000000##000000
##EBD7621.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D256
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#FCC9BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd762;
/* rgb */ color: rgb(235, 215, 98);
/* oklch */ color: oklch(87.3% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#f4e392',
    500: '#ebd762',
    950: '#000000',
  },
}
SCSS
$custom: #ebd762;
$custom-light: #f4e392;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd762",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 51.241,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87325,
    "c": 0.13841,
    "h": 99.7
  },
  "luminance": 0.67145
}

Semantic roles & 50–950 ramp

primary
#EBD762
secondary
#374ABA
accent
#2ADA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD762

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

Preview Lab → · Contrast checker → · Palette generator →

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