#ECC98F#ECC98F

#ECC98F is a very light, moderate orange. Relative luminance 0.616; OKLCH L 85.3% C 0.084 H 79.8°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#ECC98F
RGBrgb(236, 201, 143)
HSLhsl(37, 71%, 74%)
HSVhsv(37, 39%, 93%)
CMYKcmyk(0%, 14.8%, 39.4%, 7.5%)
CIE-LABlab(82.70, 4.55, 33.57)
CIE-LCHlch(82.70, 33.88, 82.29°)
OKLaboklab(85.26% 0.0149 0.0831)
OKLCHoklch(85.26% 0.084 79.8)
XYZxyz(60.4383, 61.5920, 34.6862)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC98F #8FB2EC
analogous
#EC9B8F #ECC98F #E1EC8F
triadic
#ECC98F #8FECC9 #C98FEC
tetradic
#ECC98F #8FEC9B #8FB2EC #EC8FE1
square
#ECC98F #8FEC9B #8FB2EC #EC8FE1
split-complementary
#ECC98F #8FE1EC #9B8FEC
monochromatic
#DA9726 #E3B05B #ECC98F #F5E2C3 #FBF2E5

Accessibility & contrast

On white

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

On black

13.32
#ECC98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC98F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC98F#FFFFFF#000000##000000
##ECC98F1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98B
Deuteranopia (green-blind)
#E0D191
Tritanopia (blue-blind)
#FABFBA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ecc98f;
/* rgb */ color: rgb(236, 201, 143);
/* oklch */ color: oklch(85.3% 0.084 79.8);
Tailwind
colors: {
  custom: {
    50: '#f3d9b0',
    500: '#ecc98f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc98f;
$custom-light: #f3d9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc98f",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 143
  },
  "hsl": {
    "h": 37.419,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.85257,
    "c": 0.08444,
    "h": 79.8
  },
  "luminance": 0.61589
}

Semantic roles & 50–950 ramp

primary
#ECC98F
secondary
#5882C7
accent
#5BD312
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC98F

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

Preview Lab → · Contrast checker → · Palette generator →

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