#EBE28D#EBE28D

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

Color values

HEX#EBE28D
RGBrgb(235, 226, 141)
HSLhsl(54, 70%, 74%)
HSVhsv(54, 40%, 92%)
CMYKcmyk(0%, 3.8%, 40%, 7.8%)
CIE-LABlab(88.91, -8.85, 42.61)
CIE-LCHlch(88.91, 43.52, 101.74°)
OKLaboklab(90.13% -0.0241 0.1039)
OKLCHoklch(90.13% 0.107 103.1)
XYZxyz(66.2662, 73.9797, 35.9829)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE28D #8D96EB
analogous
#EBB38D #EBE28D #C5EB8D
triadic
#EBE28D #8DEBE2 #E28DEB
tetradic
#EBE28D #8DEBB3 #8D96EB #EB8DC5
square
#EBE28D #8DEBB3 #8D96EB #EB8DC5
split-complementary
#EBE28D #8DC5EB #B38DEB
monochromatic
#D8C726 #E2D559 #EBE28D #F4EFC1 #FAF8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBE28D#FFFFFF#000000##000000
##EBE28D1.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)
#F0DD87
Deuteranopia (green-blind)
#F3E290
Tritanopia (blue-blind)
#F8D7CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe28d;
/* rgb */ color: rgb(235, 226, 141);
/* oklch */ color: oklch(90.1% 0.107 103.1);
Tailwind
colors: {
  custom: {
    50: '#f3ebaf',
    500: '#ebe28d',
    950: '#000000',
  },
}
SCSS
$custom: #ebe28d;
$custom-light: #f3ebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe28d",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 141
  },
  "hsl": {
    "h": 54.255,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90134,
    "c": 0.10661,
    "h": 103.1
  },
  "luminance": 0.73978
}

Semantic roles & 50–950 ramp

primary
#EBE28D
secondary
#5761C6
accent
#26D213
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EBE28D

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

Preview Lab → · Contrast checker → · Palette generator →

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