#EBE7AA#EBE7AA

#EBE7AA is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.079 H 104.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#EBE7AA
RGBrgb(235, 231, 170)
HSLhsl(56, 62%, 79%)
HSVhsv(56, 28%, 92%)
CMYKcmyk(0%, 1.7%, 27.7%, 7.8%)
CIE-LABlab(90.65, -7.97, 30.27)
CIE-LCHlch(90.65, 31.30, 104.75°)
OKLaboklab(91.66% -0.0199 0.076)
OKLCHoklch(91.66% 0.079 104.7)
XYZxyz(70.0928, 77.7175, 49.3310)
Luminance0.7772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE7AA #AAAEEB
analogous
#EBC7AA #EBE7AA #CFEBAA
triadic
#EBE7AA #AAEBE7 #E7AAEB
tetradic
#EBE7AA #AAEBC7 #AAAEEB #EBAACF
square
#EBE7AA #AAEBC7 #AAAEEB #EBAACF
split-complementary
#EBE7AA #AACFEB #C7AAEB
monochromatic
#D4CB47 #DFD978 #EBE7AA #F7F5DC #F9F8E6

Accessibility & contrast

On white

1.27
#EBE7AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#EBE7AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE7AA
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE7AA#FFFFFF#000000##000000
##EBE7AA1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E2A6
Deuteranopia (green-blind)
#F4E6AC
Tritanopia (blue-blind)
#F5DFD7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebe7aa;
/* rgb */ color: rgb(235, 231, 170);
/* oklch */ color: oklch(91.7% 0.079 104.7);
Tailwind
colors: {
  custom: {
    50: '#f2eec3',
    500: '#ebe7aa',
    950: '#000000',
  },
}
SCSS
$custom: #ebe7aa;
$custom-light: #f2eec3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe7aa",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 170
  },
  "hsl": {
    "h": 56.308,
    "s": 61.905,
    "l": 79.412
  },
  "oklch": {
    "l": 0.9166,
    "c": 0.07861,
    "h": 104.7
  },
  "luminance": 0.77716
}

Semantic roles & 50–950 ramp

primary
#EBE7AA
secondary
#7277C7
accent
#27CA1C
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #EBE7AA

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

Preview Lab → · Contrast checker → · Palette generator →

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