#FFEB52#FFEB52

#FFEB52 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 93.0% C 0.167 H 101.8°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#FFEB52
RGBrgb(255, 235, 82)
HSLhsl(53, 100%, 66%)
HSVhsv(53, 68%, 100%)
CMYKcmyk(0%, 7.8%, 67.8%, 0%)
CIE-LABlab(92.26, -9.85, 73.24)
CIE-LCHlch(92.26, 73.90, 97.66°)
OKLaboklab(92.99% -0.0341 0.1638)
OKLCHoklch(92.99% 0.167 101.8)
XYZxyz(72.4744, 81.2890, 19.8538)
Luminance0.8129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB52 #5266FF
analogous
#FF9452 #FFEB52 #BCFF52
triadic
#FFEB52 #52FFEB #EB52FF
tetradic
#FFEB52 #52FF94 #5266FF #FF52BC
square
#FFEB52 #52FF94 #5266FF #FF52BC
split-complementary
#FFEB52 #52BCFF #9452FF
monochromatic
#D7BE00 #FFE415 #FFEB52 #FFF28F #FFF9CC

Accessibility & contrast

On white

1.22
#FFEB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#FFEB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB52
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB52#FFFFFF#000000##000000
##FFEB521.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43C
Deuteranopia (green-blind)
#FFEC5B
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffeb52;
/* rgb */ color: rgb(255, 235, 82);
/* oklch */ color: oklch(93.0% 0.167 101.8);
Tailwind
colors: {
  custom: {
    50: '#fff18b',
    500: '#ffeb52',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb52;
$custom-light: #fff18b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb52",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 82
  },
  "hsl": {
    "h": 53.064,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92992,
    "c": 0.16729,
    "h": 101.8
  },
  "luminance": 0.81286
}

Semantic roles & 50–950 ramp

primary
#FFEB52
secondary
#2539D0
accent
#1BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160C
muted
#87857F

Preview Lab

Preview with #FFEB52

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

Preview Lab → · Contrast checker → · Palette generator →

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