#EBDF52#EBDF52

#EBDF52 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.8% C 0.158 H 104.4°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#EBDF52
RGBrgb(235, 223, 82)
HSLhsl(55, 79%, 62%)
HSVhsv(55, 65%, 92%)
CMYKcmyk(0%, 5.1%, 65.1%, 7.8%)
CIE-LABlab(87.51, -12.12, 67.85)
CIE-LCHlch(87.51, 68.93, 100.13°)
OKLaboklab(88.82% -0.0394 0.153)
OKLCHoklch(88.82% 0.158 104.4)
XYZxyz(62.1740, 71.0490, 18.4198)
Luminance0.7105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDF52 #525EEB
analogous
#EB9352 #EBDF52 #ABEB52
triadic
#EBDF52 #52EBDF #DF52EB
tetradic
#EBDF52 #52EB93 #525EEB #EB52AB
square
#EBDF52 #52EB93 #525EEB #EB52AB
split-complementary
#EBDF52 #52ABEB #9352EB
monochromatic
#AEA214 #E5D51B #EBDF52 #F1E989 #F8F3C0

Accessibility & contrast

On white

1.38
#EBDF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#EBDF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDF52
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDF52#FFFFFF#000000##000000
##EBDF521.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83F
Deuteranopia (green-blind)
#F6DE5B
Tritanopia (blue-blind)
#FCD0C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ebdf52;
/* rgb */ color: rgb(235, 223, 82);
/* oklch */ color: oklch(88.8% 0.158 104.4);
Tailwind
colors: {
  custom: {
    50: '#f5e889',
    500: '#ebdf52',
    950: '#000000',
  },
}
SCSS
$custom: #ebdf52;
$custom-light: #f5e889;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdf52",
  "rgb": {
    "r": 235,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 55.294,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88815,
    "c": 0.15798,
    "h": 104.4
  },
  "luminance": 0.71047
}

Semantic roles & 50–950 ramp

primary
#EBDF52
secondary
#323CAF
accent
#1ADC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EBDF52

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

Preview Lab → · Contrast checker → · Palette generator →

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