#EBE474#EBE474

#EBE474 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.2% C 0.134 H 105.6°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#EBE474
RGBrgb(235, 228, 116)
HSLhsl(56, 75%, 69%)
HSVhsv(56, 51%, 92%)
CMYKcmyk(0%, 3%, 50.6%, 7.8%)
CIE-LABlab(89.12, -12.22, 54.89)
CIE-LCHlch(89.12, 56.23, 102.55°)
OKLaboklab(90.19% -0.036 0.1294)
OKLCHoklch(90.19% 0.134 105.6)
XYZxyz(65.1585, 74.4118, 27.4502)
Luminance0.7441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE474 #747BEB
analogous
#EBA974 #EBE474 #B7EB74
triadic
#EBE474 #74EBE4 #E474EB
tetradic
#EBE474 #74EBA9 #747BEB #EB74B7
square
#EBE474 #74EBA9 #747BEB #EB74B7
split-complementary
#EBE474 #74B7EB #A974EB
monochromatic
#C8BE1D #E3DA3E #EBE474 #F3EEAA #FAF9DF

Accessibility & contrast

On white

1.32
#EBE474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#EBE474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE474
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE474#FFFFFF#000000##000000
##EBE4741.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#FAD7CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe474;
/* rgb */ color: rgb(235, 228, 116);
/* oklch */ color: oklch(90.2% 0.134 105.6);
Tailwind
colors: {
  custom: {
    50: '#f4ec9f',
    500: '#ebe474',
    950: '#000000',
  },
}
SCSS
$custom: #ebe474;
$custom-light: #f4ec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe474",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 56.471,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90194,
    "c": 0.13437,
    "h": 105.6
  },
  "luminance": 0.7441
}

Semantic roles & 50–950 ramp

primary
#EBE474
secondary
#4048C3
accent
#1AD70F
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE474

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

Preview Lab → · Contrast checker → · Palette generator →

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