#EBE2A2#EBE2A2

#EBE2A2 is a very light, moderate yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.083 H 101.1°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#EBE2A2
RGBrgb(235, 226, 162)
HSLhsl(53, 65%, 78%)
HSVhsv(53, 31%, 92%)
CMYKcmyk(0%, 3.8%, 31.1%, 7.8%)
CIE-LABlab(89.24, -6.46, 32.46)
CIE-LCHlch(89.24, 33.09, 101.25°)
OKLaboklab(90.5% -0.0159 0.0811)
OKLCHoklch(90.5% 0.083 101.1)
XYZxyz(67.9795, 74.6650, 45.0062)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE2A2 #A2ABEB
analogous
#EBBDA2 #EBE2A2 #CFEBA2
triadic
#EBE2A2 #A2EBE2 #E2A2EB
tetradic
#EBE2A2 #A2EBBD #A2ABEB #EBA2CF
square
#EBE2A2 #A2EBBD #A2ABEB #EBA2CF
split-complementary
#EBE2A2 #A2CFEB #BDA2EB
monochromatic
#D5C33D #E0D270 #EBE2A2 #F6F2D4 #FAF7E6

Accessibility & contrast

On white

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

On black

15.93
#EBE2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE2A2
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE2A2#FFFFFF#000000##000000
##EBE2A21.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDE9E
Deuteranopia (green-blind)
#F1E2A4
Tritanopia (blue-blind)
#F6D9D1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe2a2;
/* rgb */ color: rgb(235, 226, 162);
/* oklch */ color: oklch(90.5% 0.083 101.1);
Tailwind
colors: {
  custom: {
    50: '#f2ebbe',
    500: '#ebe2a2',
    950: '#000000',
  },
}
SCSS
$custom: #ebe2a2;
$custom-light: #f2ebbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe2a2",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 162
  },
  "hsl": {
    "h": 52.603,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.90495,
    "c": 0.08261,
    "h": 101.1
  },
  "luminance": 0.74664
}

Semantic roles & 50–950 ramp

primary
#EBE2A2
secondary
#6A76C7
accent
#2FCC19
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #EBE2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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