#EBD795#EBD795

#EBD795 is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.087 H 93.2°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#EBD795
RGBrgb(235, 215, 149)
HSLhsl(46, 68%, 75%)
HSVhsv(46, 37%, 92%)
CMYKcmyk(0%, 8.5%, 36.6%, 7.8%)
CIE-LABlab(86.22, -2.40, 35.11)
CIE-LCHlch(86.22, 35.19, 93.91°)
OKLaboklab(88.05% -0.0049 0.0869)
OKLCHoklch(88.05% 0.087 93.2)
XYZxyz(63.9874, 68.4350, 38.2666)
Luminance0.6843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD795 #95A9EB
analogous
#EBAC95 #EBD795 #D4EB95
triadic
#EBD795 #95EBD7 #D795EB
tetradic
#EBD795 #95EBAC #95A9EB #EB95D4
square
#EBD795 #95EBAC #95A9EB #EB95D4
split-complementary
#EBD795 #95D4EB #AC95EB
monochromatic
#D8B02E #E1C462 #EBD795 #F5EAC8 #FAF5E5

Accessibility & contrast

On white

1.43
#EBD795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#EBD795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD795
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD795#FFFFFF#000000##000000
##EBD7951.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D490
Deuteranopia (green-blind)
#EADA97
Tritanopia (blue-blind)
#F8CDC6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd795;
/* rgb */ color: rgb(235, 215, 149);
/* oklch */ color: oklch(88.0% 0.087 93.2);
Tailwind
colors: {
  custom: {
    50: '#f2e3b5',
    500: '#ebd795',
    950: '#000000',
  },
}
SCSS
$custom: #ebd795;
$custom-light: #f2e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd795",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 46.047,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.88045,
    "c": 0.08705,
    "h": 93.2
  },
  "luminance": 0.68433
}

Semantic roles & 50–950 ramp

primary
#EBD795
secondary
#5E76C6
accent
#41D015
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD795

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

Preview Lab → · Contrast checker → · Palette generator →

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