#EBE252#EBE252

#EBE252 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.4% C 0.161 H 105.7°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#EBE252
RGBrgb(235, 226, 82)
HSLhsl(56, 79%, 62%)
HSVhsv(56, 65%, 92%)
CMYKcmyk(0%, 3.8%, 65.1%, 7.8%)
CIE-LABlab(88.29, -13.61, 68.66)
CIE-LCHlch(88.29, 69.99, 101.21°)
OKLaboklab(89.44% -0.0436 0.1547)
OKLCHoklch(89.44% 0.161 105.7)
XYZxyz(62.9826, 72.6663, 18.6894)
Luminance0.7266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE252 #525BEB
analogous
#EB9652 #EBE252 #A7EB52
triadic
#EBE252 #52EBE2 #E252EB
tetradic
#EBE252 #52EB96 #525BEB #EB52A7
square
#EBE252 #52EB96 #525BEB #EB52A7
split-complementary
#EBE252 #52A7EB #9652EB
monochromatic
#AEA514 #E5D91B #EBE252 #F1EB89 #F8F4C0

Accessibility & contrast

On white

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

On black

15.53
#EBE252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE252
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE252#FFFFFF#000000##000000
##EBE2521.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3F
Deuteranopia (green-blind)
#F8E05B
Tritanopia (blue-blind)
#FCD4C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ebe252;
/* rgb */ color: rgb(235, 226, 82);
/* oklch */ color: oklch(89.4% 0.161 105.7);
Tailwind
colors: {
  custom: {
    50: '#f5ea8a',
    500: '#ebe252',
    950: '#000000',
  },
}
SCSS
$custom: #ebe252;
$custom-light: #f5ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe252",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 56.471,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89436,
    "c": 0.16072,
    "h": 105.7
  },
  "luminance": 0.72664
}

Semantic roles & 50–950 ramp

primary
#EBE252
secondary
#3239AF
accent
#16DC0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EBE252

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

Preview Lab → · Contrast checker → · Palette generator →

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