#ECC397#ECC397

#ECC397 is a very light, moderate orange. Relative luminance 0.591; OKLCH L 84.2% C 0.074 H 68.5°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#ECC397
RGBrgb(236, 195, 151)
HSLhsl(31, 69%, 76%)
HSVhsv(31, 36%, 93%)
CMYKcmyk(0%, 17.4%, 36%, 7.5%)
CIE-LABlab(81.35, 8.59, 27.60)
CIE-LCHlch(81.35, 28.91, 72.71°)
OKLaboklab(84.24% 0.0273 0.0693)
OKLCHoklch(84.24% 0.074 68.5)
XYZxyz(59.6946, 59.1002, 37.5353)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC397 #97C0EC
analogous
#EC9897 #ECC397 #EAEC97
triadic
#ECC397 #97ECC3 #C397EC
tetradic
#ECC397 #97EC98 #97C0EC #EC97EA
square
#ECC397 #97EC98 #97C0EC #EC97EA
split-complementary
#ECC397 #97EAEC #9897EC
monochromatic
#D98730 #E3A563 #ECC397 #F5E1CB #FAF0E5

Accessibility & contrast

On white

1.64
#ECC397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#ECC397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC397
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC397#FFFFFF#000000##000000
##ECC3971.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C594
Deuteranopia (green-blind)
#DBCE98
Tritanopia (blue-blind)
#FAB9B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc397;
/* rgb */ color: rgb(236, 195, 151);
/* oklch */ color: oklch(84.2% 0.074 68.5);
Tailwind
colors: {
  custom: {
    50: '#f3d5b6',
    500: '#ecc397',
    950: '#000000',
  },
}
SCSS
$custom: #ecc397;
$custom-light: #f3d5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc397",
  "rgb": {
    "r": 236,
    "g": 195,
    "b": 151
  },
  "hsl": {
    "h": 31.059,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.84243,
    "c": 0.07444,
    "h": 68.5
  },
  "luminance": 0.59097
}

Semantic roles & 50–950 ramp

primary
#ECC397
secondary
#6092C8
accent
#6FD114
background
#FFFEFD
surface
#FEFBF8
border
#D6D4D1
text
#171411
muted
#858381

Preview Lab

Preview with #ECC397

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

Preview Lab → · Contrast checker → · Palette generator →

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