#EEC797#EEC797

#EEC797 is a very light, moderate orange. Relative luminance 0.613; OKLCH L 85.2% C 0.077 H 72.3°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#EEC797
RGBrgb(238, 199, 151)
HSLhsl(33, 72%, 76%)
HSVhsv(33, 37%, 93%)
CMYKcmyk(0%, 16.4%, 36.6%, 6.7%)
CIE-LABlab(82.52, 7.27, 29.21)
CIE-LCHlch(82.52, 30.10, 76.02°)
OKLaboklab(85.21% 0.0233 0.0731)
OKLCHoklch(85.21% 0.077 72.3)
XYZxyz(61.2708, 61.2611, 37.8693)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC797 #97BEEE
analogous
#EE9C97 #EEC797 #EAEE97
triadic
#EEC797 #97EEC7 #C797EE
tetradic
#EEC797 #97EE9C #97BEEE #EE97EA
square
#EEC797 #97EE9C #97BEEE #EE97EA
split-complementary
#EEC797 #97EAEE #9C97EE
monochromatic
#DD8E2E #E5AB62 #EEC797 #F7E3CC #FBF1E5

Accessibility & contrast

On white

1.58
#EEC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#EEC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC797
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC797#FFFFFF#000000##000000
##EEC7971.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eec797;
/* rgb */ color: rgb(238, 199, 151);
/* oklch */ color: oklch(85.2% 0.077 72.3);
Tailwind
colors: {
  custom: {
    50: '#f5d7b6',
    500: '#eec797',
    950: '#000000',
  },
}
SCSS
$custom: #eec797;
$custom-light: #f5d7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eec797",
  "rgb": {
    "r": 238,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 33.103,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.85205,
    "c": 0.07671,
    "h": 72.3
  },
  "luminance": 0.61258
}

Semantic roles & 50–950 ramp

primary
#EEC797
secondary
#5F8FCA
accent
#69D412
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#171411
muted
#858381

Preview Lab

Preview with #EEC797

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

Preview Lab → · Contrast checker → · Palette generator →

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