#EBD696#EBD696

#EBD696 is a very light, moderate yellow. Relative luminance 0.680; OKLCH L 87.9% C 0.085 H 92.0°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#EBD696
RGBrgb(235, 214, 150)
HSLhsl(45, 68%, 75%)
HSVhsv(45, 36%, 92%)
CMYKcmyk(0%, 8.9%, 36.2%, 7.8%)
CIE-LABlab(85.99, -1.78, 34.28)
CIE-LCHlch(85.99, 34.33, 92.97°)
OKLaboklab(87.86% -0.003 0.085)
OKLCHoklch(87.86% 0.085 92)
XYZxyz(63.8137, 67.9594, 38.6043)
Luminance0.6796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD696 #96ABEB
analogous
#EBAB96 #EBD696 #D6EB96
triadic
#EBD696 #96EBD6 #D696EB
tetradic
#EBD696 #96EBAB #96ABEB #EB96D6
square
#EBD696 #96EBAB #96ABEB #EB96D6
split-complementary
#EBD696 #96D6EB #AB96EB
monochromatic
#D7AE2F #E1C263 #EBD696 #F5EAC9 #FAF5E5

Accessibility & contrast

On white

1.44
#EBD696 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#EBD696 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD696
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD696#FFFFFF#000000##000000
##EBD6961.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D391
Deuteranopia (green-blind)
#E9DA98
Tritanopia (blue-blind)
#F8CCC6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd696;
/* rgb */ color: rgb(235, 214, 150);
/* oklch */ color: oklch(87.9% 0.085 92.0);
Tailwind
colors: {
  custom: {
    50: '#f2e2b5',
    500: '#ebd696',
    950: '#000000',
  },
}
SCSS
$custom: #ebd696;
$custom-light: #f2e2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd696",
  "rgb": {
    "r": 235,
    "g": 214,
    "b": 150
  },
  "hsl": {
    "h": 45.176,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.87863,
    "c": 0.08507,
    "h": 92
  },
  "luminance": 0.67957
}

Semantic roles & 50–950 ramp

primary
#EBD696
secondary
#5F78C6
accent
#44D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD696

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

Preview Lab → · Contrast checker → · Palette generator →

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