#EBE28E#EBE28E

#EBE28E is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.1% C 0.106 H 103.0°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#EBE28E
RGBrgb(235, 226, 142)
HSLhsl(54, 70%, 74%)
HSVhsv(54, 40%, 92%)
CMYKcmyk(0%, 3.8%, 39.6%, 7.8%)
CIE-LABlab(88.93, -8.75, 42.13)
CIE-LCHlch(88.93, 43.03, 101.73°)
OKLaboklab(90.15% -0.0237 0.1028)
OKLCHoklch(90.15% 0.106 103)
XYZxyz(66.3410, 74.0096, 36.3766)
Luminance0.7401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE28E #8E97EB
analogous
#EBB48E #EBE28E #C6EB8E
triadic
#EBE28E #8EEBE2 #E28EEB
tetradic
#EBE28E #8EEBB4 #8E97EB #EB8EC6
square
#EBE28E #8EEBB4 #8E97EB #EB8EC6
split-complementary
#EBE28E #8EC6EB #B48EEB
monochromatic
#D8C726 #E2D55A #EBE28E #F4EFC2 #FAF8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBE28E#FFFFFF#000000##000000
##EBE28E1.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)
#F0DD88
Deuteranopia (green-blind)
#F3E291
Tritanopia (blue-blind)
#F8D7CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe28e;
/* rgb */ color: rgb(235, 226, 142);
/* oklch */ color: oklch(90.1% 0.106 103.0);
Tailwind
colors: {
  custom: {
    50: '#f3ebb0',
    500: '#ebe28e',
    950: '#000000',
  },
}
SCSS
$custom: #ebe28e;
$custom-light: #f3ebb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe28e",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 142
  },
  "hsl": {
    "h": 54.194,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9015,
    "c": 0.10551,
    "h": 103
  },
  "luminance": 0.74008
}

Semantic roles & 50–950 ramp

primary
#EBE28E
secondary
#5862C6
accent
#26D214
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EBE28E

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

Preview Lab → · Contrast checker → · Palette generator →

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