#EBE262#EBE262

#EBE262 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.148 H 105.3°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#EBE262
RGBrgb(235, 226, 98)
HSLhsl(56, 77%, 65%)
HSVhsv(56, 58%, 92%)
CMYKcmyk(0%, 3.8%, 58.3%, 7.8%)
CIE-LABlab(88.42, -12.60, 62.18)
CIE-LCHlch(88.42, 63.44, 101.46°)
OKLaboklab(89.58% -0.0391 0.1432)
OKLCHoklch(89.58% 0.148 105.3)
XYZxyz(63.6640, 72.9388, 22.2779)
Luminance0.7294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE262 #626BEB
analogous
#EB9D62 #EBE262 #B0EB62
triadic
#EBE262 #62EBE2 #E262EB
tetradic
#EBE262 #62EB9D #626BEB #EB62B0
square
#EBE262 #62EB9D #626BEB #EB62B0
split-complementary
#EBE262 #62B0EB #9D62EB
monochromatic
#BBB018 #E4D82C #EBE262 #F2EC98 #F9F6CF

Accessibility & contrast

On white

1.35
#EBE262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#EBE262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE262
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE262#FFFFFF#000000##000000
##EBE2621.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F7E169
Tritanopia (blue-blind)
#FBD4C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe262;
/* rgb */ color: rgb(235, 226, 98);
/* oklch */ color: oklch(89.6% 0.148 105.3);
Tailwind
colors: {
  custom: {
    50: '#f4ea93',
    500: '#ebe262',
    950: '#000000',
  },
}
SCSS
$custom: #ebe262;
$custom-light: #f4ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe262",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 56.058,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89581,
    "c": 0.14843,
    "h": 105.3
  },
  "luminance": 0.72937
}

Semantic roles & 50–950 ramp

primary
#EBE262
secondary
#3740BA
accent
#19DA0C
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE262

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

Preview Lab → · Contrast checker → · Palette generator →

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