#EBE462#EBE462

#EBE462 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.0% C 0.150 H 106.2°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#EBE462
RGBrgb(235, 228, 98)
HSLhsl(57, 77%, 65%)
HSVhsv(57, 58%, 92%)
CMYKcmyk(0%, 3%, 58.3%, 7.8%)
CIE-LABlab(88.94, -13.59, 62.76)
CIE-LCHlch(88.94, 64.21, 102.22°)
OKLaboklab(90% -0.0419 0.1444)
OKLCHoklch(90% 0.15 106.2)
XYZxyz(64.2110, 74.0329, 22.4603)
Luminance0.7403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE462 #6269EB
analogous
#EB9F62 #EBE462 #AEEB62
triadic
#EBE462 #62EBE4 #E462EB
tetradic
#EBE462 #62EB9F #6269EB #EB62AE
square
#EBE462 #62EB9F #6269EB #EB62AE
split-complementary
#EBE462 #62AEEB #9F62EB
monochromatic
#BBB218 #E4DB2C #EBE462 #F2ED98 #F9F7CF

Accessibility & contrast

On white

1.33
#EBE462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#EBE462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE462
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE462#FFFFFF#000000##000000
##EBE4621.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC54
Deuteranopia (green-blind)
#F9E269
Tritanopia (blue-blind)
#FBD6C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe462;
/* rgb */ color: rgb(235, 228, 98);
/* oklch */ color: oklch(90.0% 0.150 106.2);
Tailwind
colors: {
  custom: {
    50: '#f4ec93',
    500: '#ebe462',
    950: '#000000',
  },
}
SCSS
$custom: #ebe462;
$custom-light: #f4ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe462",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 56.934,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89995,
    "c": 0.15037,
    "h": 106.2
  },
  "luminance": 0.74031
}

Semantic roles & 50–950 ramp

primary
#EBE462
secondary
#373EBA
accent
#16DA0C
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE462

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

Preview Lab → · Contrast checker → · Palette generator →

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