#ECCF73#ECCF73

#ECCF73 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 86.0% C 0.117 H 92.3°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#ECCF73
RGBrgb(236, 207, 115)
HSLhsl(46, 76%, 69%)
HSVhsv(46, 51%, 93%)
CMYKcmyk(0%, 12.3%, 51.3%, 7.5%)
CIE-LABlab(83.81, -1.29, 49.05)
CIE-LCHlch(83.81, 49.06, 91.50°)
OKLaboklab(86.01% -0.0047 0.1165)
OKLCHoklch(86.01% 0.117 92.3)
XYZxyz(60.0016, 63.6990, 25.3510)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF73 #7390EC
analogous
#EC9373 #ECCF73 #CDEC73
triadic
#ECCF73 #73ECCF #CF73EC
tetradic
#ECCF73 #73EC93 #7390EC #EC73CD
square
#ECCF73 #73EC93 #7390EC #EC73CD
split-complementary
#ECCF73 #73CDEC #9373EC
monochromatic
#C9A01B #E5BD3D #ECCF73 #F3E1A9 #FBF4DF

Accessibility & contrast

On white

1.53
#ECCF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#ECCF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF73
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF73#FFFFFF#000000##000000
##ECCF731.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6B
Deuteranopia (green-blind)
#E8D577
Tritanopia (blue-blind)
#FCC2B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eccf73;
/* rgb */ color: rgb(236, 207, 115);
/* oklch */ color: oklch(86.0% 0.117 92.3);
Tailwind
colors: {
  custom: {
    50: '#f4dd9d',
    500: '#eccf73',
    950: '#000000',
  },
}
SCSS
$custom: #eccf73;
$custom-light: #f4dd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf73",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 115
  },
  "hsl": {
    "h": 45.62,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86005,
    "c": 0.11664,
    "h": 92.3
  },
  "luminance": 0.63696
}

Semantic roles & 50–950 ramp

primary
#ECCF73
secondary
#3F5FC4
accent
#3ED80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCF73

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

Preview Lab → · Contrast checker → · Palette generator →

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