#EBE348#EBE348

#EBE348 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.6% C 0.168 H 106.4°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#EBE348
RGBrgb(235, 227, 72)
HSLhsl(57, 80%, 60%)
HSVhsv(57, 69%, 92%)
CMYKcmyk(0%, 3.4%, 69.4%, 7.8%)
CIE-LABlab(88.48, -14.63, 72.61)
CIE-LCHlch(88.48, 74.07, 101.39°)
OKLaboklab(89.57% -0.0475 0.1614)
OKLCHoklch(89.57% 0.168 106.4)
XYZxyz(62.9022, 73.0704, 16.9202)
Luminance0.7307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE348 #4850EB
analogous
#EB9148 #EBE348 #A2EB48
triadic
#EBE348 #48EBE3 #E348EB
tetradic
#EBE348 #48EB91 #4850EB #EB48A2
square
#EBE348 #48EB91 #4850EB #EB48A2
split-complementary
#EBE348 #48A2EB #9148EB
monochromatic
#A69F12 #DED418 #EBE348 #F1EB7F #F7F4B6

Accessibility & contrast

On white

1.34
#EBE348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#EBE348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE348
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE348#FFFFFF#000000##000000
##EBE3481.001.3415.6115.61
#FFFFFF1.341.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB2F
Deuteranopia (green-blind)
#F9E153
Tritanopia (blue-blind)
#FCD4C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe348;
/* rgb */ color: rgb(235, 227, 72);
/* oklch */ color: oklch(89.6% 0.168 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5eb84',
    500: '#ebe348',
    950: '#000000',
  },
}
SCSS
$custom: #ebe348;
$custom-light: #f5eb84;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe348",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 72
  },
  "hsl": {
    "h": 57.055,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.89568,
    "c": 0.16826,
    "h": 106.4
  },
  "luminance": 0.73068
}

Semantic roles & 50–950 ramp

primary
#EBE348
secondary
#2F35A8
accent
#13DD09
background
#FFFEFC
surface
#FFFDF3
border
#D7D5CD
text
#18160C
muted
#86847F

Preview Lab

Preview with #EBE348

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

Preview Lab → · Contrast checker → · Palette generator →

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