#EBE28F#EBE28F

#EBE28F is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.104 H 102.9°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#EBE28F
RGBrgb(235, 226, 143)
HSLhsl(54, 70%, 74%)
HSVhsv(54, 39%, 92%)
CMYKcmyk(0%, 3.8%, 39.1%, 7.8%)
CIE-LABlab(88.94, -8.64, 41.65)
CIE-LCHlch(88.94, 42.54, 101.72°)
OKLaboklab(90.17% -0.0233 0.1018)
OKLCHoklch(90.17% 0.104 102.9)
XYZxyz(66.4164, 74.0398, 36.7737)
Luminance0.7404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE28F #8F98EB
analogous
#EBB48F #EBE28F #C6EB8F
triadic
#EBE28F #8FEBE2 #E28FEB
tetradic
#EBE28F #8FEBB4 #8F98EB #EB8FC6
square
#EBE28F #8FEBB4 #8F98EB #EB8FC6
split-complementary
#EBE28F #8FC6EB #B48FEB
monochromatic
#D8C727 #E2D55B #EBE28F #F4EFC3 #FAF8E5

Accessibility & contrast

On white

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

On black

15.81
#EBE28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE28F
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE28F#FFFFFF#000000##000000
##EBE28F1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DD89
Deuteranopia (green-blind)
#F3E292
Tritanopia (blue-blind)
#F8D8CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe28f;
/* rgb */ color: rgb(235, 226, 143);
/* oklch */ color: oklch(90.2% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#f3ebb1',
    500: '#ebe28f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe28f;
$custom-light: #f3ebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe28f",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 143
  },
  "hsl": {
    "h": 54.13,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90166,
    "c": 0.10441,
    "h": 102.9
  },
  "luminance": 0.74038
}

Semantic roles & 50–950 ramp

primary
#EBE28F
secondary
#5963C6
accent
#26D214
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #EBE28F

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

Preview Lab → · Contrast checker → · Palette generator →

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