#ECD397#ECD397

#ECD397 is a very light, moderate orange. Relative luminance 0.667; OKLCH L 87.4% C 0.082 H 87.9°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#ECD397
RGBrgb(236, 211, 151)
HSLhsl(42, 69%, 76%)
HSVhsv(42, 36%, 93%)
CMYKcmyk(0%, 10.6%, 36%, 7.5%)
CIE-LABlab(85.33, 0.27, 32.92)
CIE-LCHlch(85.33, 32.92, 89.53°)
OKLaboklab(87.37% 0.003 0.0819)
OKLCHoklch(87.37% 0.082 87.9)
XYZxyz(63.4735, 66.6580, 38.7949)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD397 #97B0EC
analogous
#ECA897 #ECD397 #DAEC97
triadic
#ECD397 #97ECD3 #D397EC
tetradic
#ECD397 #97ECA8 #97B0EC #EC97DA
square
#ECD397 #97ECA8 #97B0EC #EC97DA
split-complementary
#ECD397 #97DAEC #A897EC
monochromatic
#D9A730 #E3BD63 #ECD397 #F5E9CB #FAF4E5

Accessibility & contrast

On white

1.47
#ECD397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#ECD397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD397
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD397#FFFFFF#000000##000000
##ECD3971.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D193
Deuteranopia (green-blind)
#E7D899
Tritanopia (blue-blind)
#F9C9C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd397;
/* rgb */ color: rgb(236, 211, 151);
/* oklch */ color: oklch(87.4% 0.082 87.9);
Tailwind
colors: {
  custom: {
    50: '#f3e0b6',
    500: '#ecd397',
    950: '#000000',
  },
}
SCSS
$custom: #ecd397;
$custom-light: #f3e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd397",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 42.353,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.87372,
    "c": 0.0819,
    "h": 87.9
  },
  "luminance": 0.66656
}

Semantic roles & 50–950 ramp

primary
#ECD397
secondary
#607EC8
accent
#4CD114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD397

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

Preview Lab → · Contrast checker → · Palette generator →

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