#EBE45A#EBE45A

#EBE45A is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.9% C 0.157 H 106.4°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#EBE45A
RGBrgb(235, 228, 90)
HSLhsl(57, 78%, 64%)
HSVhsv(57, 62%, 92%)
CMYKcmyk(0%, 3%, 61.7%, 7.8%)
CIE-LABlab(88.87, -14.12, 66.05)
CIE-LCHlch(88.87, 67.54, 102.07°)
OKLaboklab(89.92% -0.0442 0.1504)
OKLCHoklch(89.92% 0.157 106.4)
XYZxyz(63.8520, 73.8893, 20.5695)
Luminance0.7389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE45A #5A61EB
analogous
#EB9B5A #EBE45A #A9EB5A
triadic
#EBE45A #5AEBE4 #E45AEB
tetradic
#EBE45A #5AEB9B #5A61EB #EB5AA9
square
#EBE45A #5AEB9B #5A61EB #EB5AA9
split-complementary
#EBE45A #5AA9EB #9B5AEB
monochromatic
#B5AD16 #E4DB23 #EBE45A #F2ED91 #F8F6C7

Accessibility & contrast

On white

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

On black

15.78
#EBE45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE45A
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE45A#FFFFFF#000000##000000
##EBE45A1.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebe45a;
/* rgb */ color: rgb(235, 228, 90);
/* oklch */ color: oklch(89.9% 0.157 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5ec8e',
    500: '#ebe45a',
    950: '#000000',
  },
}
SCSS
$custom: #ebe45a;
$custom-light: #f5ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe45a",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 57.103,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89919,
    "c": 0.15673,
    "h": 106.4
  },
  "luminance": 0.73887
}

Semantic roles & 50–950 ramp

primary
#EBE45A
secondary
#353BB5
accent
#15DB0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE45A

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

Preview Lab → · Contrast checker → · Palette generator →

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