#EBE45F#EBE45F

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

Color values

HEX#EBE45F
RGBrgb(235, 228, 95)
HSLhsl(57, 78%, 65%)
HSVhsv(57, 60%, 92%)
CMYKcmyk(0%, 3%, 59.6%, 7.8%)
CIE-LABlab(88.91, -13.80, 64.01)
CIE-LCHlch(88.91, 65.48, 102.16°)
OKLaboklab(89.96% -0.0428 0.1467)
OKLCHoklch(89.96% 0.153 106.3)
XYZxyz(64.0720, 73.9773, 21.7282)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE45F #5F66EB
analogous
#EB9E5F #EBE45F #ACEB5F
triadic
#EBE45F #5FEBE4 #E45FEB
tetradic
#EBE45F #5FEB9E #5F66EB #EB5FAC
square
#EBE45F #5FEB9E #5F66EB #EB5FAC
split-complementary
#EBE45F #5FACEB #9E5FEB
monochromatic
#B9B017 #E4DB29 #EBE45F #F2ED95 #F9F6CC

Accessibility & contrast

On white

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

On black

15.80
#EBE45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE45F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE45F#FFFFFF#000000##000000
##EBE45F1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC50
Deuteranopia (green-blind)
#F9E267
Tritanopia (blue-blind)
#FBD6C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe45f;
/* rgb */ color: rgb(235, 228, 95);
/* oklch */ color: oklch(90.0% 0.153 106.3);
Tailwind
colors: {
  custom: {
    50: '#f4ec91',
    500: '#ebe45f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe45f;
$custom-light: #f4ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe45f",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 57,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89965,
    "c": 0.15281,
    "h": 106.3
  },
  "luminance": 0.73975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBE45F

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

Preview Lab → · Contrast checker → · Palette generator →

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