#EBD962#EBD962

#EBD962 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.7% C 0.140 H 100.8°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#EBD962
RGBrgb(235, 217, 98)
HSLhsl(52, 77%, 65%)
HSVhsv(52, 58%, 92%)
CMYKcmyk(0%, 7.7%, 58.3%, 7.8%)
CIE-LABlab(86.09, -8.11, 59.59)
CIE-LCHlch(86.09, 60.14, 97.75°)
OKLaboklab(87.73% -0.0262 0.1377)
OKLCHoklch(87.73% 0.14 100.8)
XYZxyz(61.2807, 68.1722, 21.4835)
Luminance0.6817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD962 #6274EB
analogous
#EB9562 #EBD962 #B8EB62
triadic
#EBD962 #62EBD9 #D962EB
tetradic
#EBD962 #62EB95 #6274EB #EB62B8
square
#EBD962 #62EB95 #6274EB #EB62B8
split-complementary
#EBD962 #62B8EB #9562EB
monochromatic
#BBA518 #E4CC2C #EBD962 #F2E698 #F9F3CF

Accessibility & contrast

On white

1.44
#EBD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#EBD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD962
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD962#FFFFFF#000000##000000
##EBD9621.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD355
Deuteranopia (green-blind)
#F0DB68
Tritanopia (blue-blind)
#FBCBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd962;
/* rgb */ color: rgb(235, 217, 98);
/* oklch */ color: oklch(87.7% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#f4e493',
    500: '#ebd962',
    950: '#000000',
  },
}
SCSS
$custom: #ebd962;
$custom-light: #f4e493;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd962",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 52.117,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87733,
    "c": 0.14013,
    "h": 100.8
  },
  "luminance": 0.6817
}

Semantic roles & 50–950 ramp

primary
#EBD962
secondary
#3748BA
accent
#27DA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD962

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

Preview Lab → · Contrast checker → · Palette generator →

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