#EBC797#EBC797

#EBC797 is a very light, moderate orange. Relative luminance 0.607; OKLCH L 84.9% C 0.075 H 74.5°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#EBC797
RGBrgb(235, 199, 151)
HSLhsl(34, 68%, 76%)
HSVhsv(34, 36%, 92%)
CMYKcmyk(0%, 15.3%, 35.7%, 7.8%)
CIE-LABlab(82.24, 6.11, 28.79)
CIE-LCHlch(82.24, 29.43, 78.02°)
OKLaboklab(84.92% 0.02 0.0721)
OKLCHoklch(84.92% 0.075 74.5)
XYZxyz(60.2717, 60.7459, 37.8225)
Luminance0.6074 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC797 #97BBEB
analogous
#EB9D97 #EBC797 #E5EB97
triadic
#EBC797 #97EBC7 #C797EB
tetradic
#EBC797 #97EB9D #97BBEB #EB97E5
square
#EBC797 #97EB9D #97BBEB #EB97E5
split-complementary
#EBC797 #97E5EB #9D97EB
monochromatic
#D79030 #E1AB64 #EBC797 #F5E3CA #FAF1E5

Accessibility & contrast

On white

1.60
#EBC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#EBC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC797
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC797#FFFFFF#000000##000000
##EBC7971.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C894
Deuteranopia (green-blind)
#DDD098
Tritanopia (blue-blind)
#F9BEBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebc797;
/* rgb */ color: rgb(235, 199, 151);
/* oklch */ color: oklch(84.9% 0.075 74.5);
Tailwind
colors: {
  custom: {
    50: '#f2d7b6',
    500: '#ebc797',
    950: '#000000',
  },
}
SCSS
$custom: #ebc797;
$custom-light: #f2d7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc797",
  "rgb": {
    "r": 235,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 34.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.84923,
    "c": 0.07482,
    "h": 74.5
  },
  "luminance": 0.60743
}

Semantic roles & 50–950 ramp

primary
#EBC797
secondary
#608CC6
accent
#65D016
background
#FFFEFD
surface
#FEFBF8
border
#D6D4D1
text
#171411
muted
#858381

Preview Lab

Preview with #EBC797

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

Preview Lab → · Contrast checker → · Palette generator →

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