#EBE47C#EBE47C

#EBE47C is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.3% C 0.127 H 105.2°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#EBE47C
RGBrgb(235, 228, 124)
HSLhsl(56, 74%, 70%)
HSVhsv(56, 47%, 92%)
CMYKcmyk(0%, 3%, 47.2%, 7.8%)
CIE-LABlab(89.21, -11.52, 51.24)
CIE-LCHlch(89.21, 52.52, 102.67°)
OKLaboklab(90.3% -0.0332 0.1221)
OKLCHoklch(90.3% 0.127 105.2)
XYZxyz(65.6440, 74.6061, 30.0074)
Luminance0.7460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE47C #7C83EB
analogous
#EBAC7C #EBE47C #BBEB7C
triadic
#EBE47C #7CEBE4 #E47CEB
tetradic
#EBE47C #7CEBAC #7C83EB #EB7CBB
square
#EBE47C #7CEBAC #7C83EB #EB7CBB
split-complementary
#EBE47C #7CBBEB #AC7CEB
monochromatic
#CDC21F #E3D947 #EBE47C #F3EFB1 #FBFAE4

Accessibility & contrast

On white

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

On black

15.92
#EBE47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE47C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE47C#FFFFFF#000000##000000
##EBE47C1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD73
Deuteranopia (green-blind)
#F7E281
Tritanopia (blue-blind)
#F9D8CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe47c;
/* rgb */ color: rgb(235, 228, 124);
/* oklch */ color: oklch(90.3% 0.127 105.2);
Tailwind
colors: {
  custom: {
    50: '#f3eca4',
    500: '#ebe47c',
    950: '#000000',
  },
}
SCSS
$custom: #ebe47c;
$custom-light: #f3eca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe47c",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 124
  },
  "hsl": {
    "h": 56.216,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90297,
    "c": 0.12656,
    "h": 105.2
  },
  "luminance": 0.74604
}

Semantic roles & 50–950 ramp

primary
#EBE47C
secondary
#474FC4
accent
#1CD610
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE47C

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

Preview Lab → · Contrast checker → · Palette generator →

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