#ECD398#ECD398

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

Color values

HEX#ECD398
RGBrgb(236, 211, 152)
HSLhsl(42, 69%, 76%)
HSVhsv(42, 36%, 93%)
CMYKcmyk(0%, 10.6%, 35.6%, 7.5%)
CIE-LABlab(85.35, 0.38, 32.43)
CIE-LCHlch(85.35, 32.43, 89.32°)
OKLaboklab(87.39% 0.0033 0.0807)
OKLCHoklch(87.39% 0.081 87.6)
XYZxyz(63.5550, 66.6906, 39.2244)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD398 #98B1EC
analogous
#ECA998 #ECD398 #DBEC98
triadic
#ECD398 #98ECD3 #D398EC
tetradic
#ECD398 #98ECA9 #98B1EC #EC98DB
square
#ECD398 #98ECA9 #98B1EC #EC98DB
split-complementary
#ECD398 #98DBEC #A998EC
monochromatic
#D9A731 #E2BD64 #ECD398 #F6E9CC #FAF4E5

Accessibility & contrast

On white

1.46
#ECD398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#ECD398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD398
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD398#FFFFFF#000000##000000
##ECD3981.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D194
Deuteranopia (green-blind)
#E7D89A
Tritanopia (blue-blind)
#F9C9C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd398;
/* rgb */ color: rgb(236, 211, 152);
/* oklch */ color: oklch(87.4% 0.081 87.6);
Tailwind
colors: {
  custom: {
    50: '#f3e0b7',
    500: '#ecd398',
    950: '#000000',
  },
}
SCSS
$custom: #ecd398;
$custom-light: #f3e0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd398",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 152
  },
  "hsl": {
    "h": 42.143,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.87391,
    "c": 0.08079,
    "h": 87.6
  },
  "luminance": 0.66688
}

Semantic roles & 50–950 ramp

primary
#ECD398
secondary
#617FC8
accent
#4DD115
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD398

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

Preview Lab → · Contrast checker → · Palette generator →

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