#EBE2AF#EBE2AF

#EBE2AF is a very light, moderate yellow. Relative luminance 0.751; OKLCH L 90.8% C 0.067 H 99.2°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#EBE2AF
RGBrgb(235, 226, 175)
HSLhsl(51, 60%, 80%)
HSVhsv(51, 26%, 92%)
CMYKcmyk(0%, 3.8%, 25.5%, 7.8%)
CIE-LABlab(89.46, -4.79, 26.10)
CIE-LCHlch(89.46, 26.53, 100.40°)
OKLaboklab(90.75% -0.0107 0.0661)
OKLCHoklch(90.75% 0.067 99.2)
XYZxyz(69.1954, 75.1514, 51.4097)
Luminance0.7515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE2AF #AFB8EB
analogous
#EBC4AF #EBE2AF #D6EBAF
triadic
#EBE2AF #AFEBE2 #E2AFEB
tetradic
#EBE2AF #AFEBC4 #AFB8EB #EBAFD6
square
#EBE2AF #AFEBC4 #AFB8EB #EBAFD6
split-complementary
#EBE2AF #AFD6EB #C4AFEB
monochromatic
#D3BF4D #DFD07E #EBE2AF #F7F4E0 #F9F6E7

Accessibility & contrast

On white

1.31
#EBE2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#EBE2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE2AF
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE2AF#FFFFFF#000000##000000
##EBE2AF1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDFAC
Deuteranopia (green-blind)
#EFE3B1
Tritanopia (blue-blind)
#F4DBD4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ebe2af;
/* rgb */ color: rgb(235, 226, 175);
/* oklch */ color: oklch(90.8% 0.067 99.2);
Tailwind
colors: {
  custom: {
    50: '#f2ebc7',
    500: '#ebe2af',
    950: '#000000',
  },
}
SCSS
$custom: #ebe2af;
$custom-light: #f2ebc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe2af",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 175
  },
  "hsl": {
    "h": 51,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.9075,
    "c": 0.06694,
    "h": 99.2
  },
  "luminance": 0.7515
}

Semantic roles & 50–950 ramp

primary
#EBE2AF
secondary
#7783C7
accent
#37C81E
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171613
muted
#858482

Preview Lab

Preview with #EBE2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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