#EBD697#EBD697

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

Color values

HEX#EBD697
RGBrgb(235, 214, 151)
HSLhsl(45, 68%, 76%)
HSVhsv(45, 36%, 92%)
CMYKcmyk(0%, 8.9%, 35.7%, 7.8%)
CIE-LABlab(86.00, -1.66, 33.79)
CIE-LCHlch(86.00, 33.83, 92.81°)
OKLaboklab(87.88% -0.0026 0.0839)
OKLCHoklch(87.88% 0.084 91.8)
XYZxyz(63.8946, 67.9917, 39.0301)
Luminance0.6799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD697 #97ACEB
analogous
#EBAC97 #EBD697 #D6EB97
triadic
#EBD697 #97EBD6 #D697EB
tetradic
#EBD697 #97EBAC #97ACEB #EB97D6
square
#EBD697 #97EBAC #97ACEB #EB97D6
split-complementary
#EBD697 #97D6EB #AC97EB
monochromatic
#D7AE30 #E1C264 #EBD697 #F5EACA #FAF5E5

Accessibility & contrast

On white

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

On black

14.60
#EBD697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD697
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD697#FFFFFF#000000##000000
##EBD6971.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd697;
/* rgb */ color: rgb(235, 214, 151);
/* oklch */ color: oklch(87.9% 0.084 91.8);
Tailwind
colors: {
  custom: {
    50: '#f2e2b6',
    500: '#ebd697',
    950: '#000000',
  },
}
SCSS
$custom: #ebd697;
$custom-light: #f2e2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd697",
  "rgb": {
    "r": 235,
    "g": 214,
    "b": 151
  },
  "hsl": {
    "h": 45,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.87881,
    "c": 0.08394,
    "h": 91.8
  },
  "luminance": 0.6799
}

Semantic roles & 50–950 ramp

primary
#EBD697
secondary
#607AC6
accent
#44D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD697

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

Preview Lab → · Contrast checker → · Palette generator →

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