#EBE45E#EBE45E

#EBE45E is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.0% C 0.154 H 106.3°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#EBE45E
RGBrgb(235, 228, 94)
HSLhsl(57, 78%, 65%)
HSVhsv(57, 60%, 92%)
CMYKcmyk(0%, 3%, 60%, 7.8%)
CIE-LABlab(88.90, -13.86, 64.42)
CIE-LCHlch(88.90, 65.90, 102.14°)
OKLaboklab(89.96% -0.0431 0.1475)
OKLCHoklch(89.96% 0.154 106.3)
XYZxyz(64.0269, 73.9592, 21.4904)
Luminance0.7396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE45E #5E65EB
analogous
#EB9D5E #EBE45E #ACEB5E
triadic
#EBE45E #5EEBE4 #E45EEB
tetradic
#EBE45E #5EEB9D #5E65EB #EB5EAC
square
#EBE45E #5EEB9D #5E65EB #EB5EAC
split-complementary
#EBE45E #5EACEB #9D5EEB
monochromatic
#B8B017 #E4DB28 #EBE45E #F2ED94 #F9F6CB

Accessibility & contrast

On white

1.33
#EBE45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#EBE45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE45E
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE45E#FFFFFF#000000##000000
##EBE45E1.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4F
Deuteranopia (green-blind)
#F9E266
Tritanopia (blue-blind)
#FBD6C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe45e;
/* rgb */ color: rgb(235, 228, 94);
/* oklch */ color: oklch(90.0% 0.154 106.3);
Tailwind
colors: {
  custom: {
    50: '#f4ec91',
    500: '#ebe45e',
    950: '#000000',
  },
}
SCSS
$custom: #ebe45e;
$custom-light: #f4ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe45e",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 94
  },
  "hsl": {
    "h": 57.021,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89956,
    "c": 0.15361,
    "h": 106.3
  },
  "luminance": 0.73957
}

Semantic roles & 50–950 ramp

primary
#EBE45E
secondary
#363CB7
accent
#16DA0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE45E

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

Preview Lab → · Contrast checker → · Palette generator →

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