#ECCF74#ECCF74

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

Color values

HEX#ECCF74
RGBrgb(236, 207, 116)
HSLhsl(46, 76%, 69%)
HSVhsv(46, 51%, 93%)
CMYKcmyk(0%, 12.3%, 50.8%, 7.5%)
CIE-LABlab(83.82, -1.20, 48.58)
CIE-LCHlch(83.82, 48.59, 91.42°)
OKLaboklab(86.02% -0.0044 0.1156)
OKLCHoklch(86.02% 0.116 92.2)
XYZxyz(60.0594, 63.7222, 25.6556)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF74 #7491EC
analogous
#EC9374 #ECCF74 #CDEC74
triadic
#ECCF74 #74ECCF #CF74EC
tetradic
#ECCF74 #74EC93 #7491EC #EC74CD
square
#ECCF74 #74EC93 #7491EC #EC74CD
split-complementary
#ECCF74 #74CDEC #9374EC
monochromatic
#CAA01C #E5BC3E #ECCF74 #F3E2AA #FBF4E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCF74#FFFFFF#000000##000000
##ECCF741.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)
#E0CC6C
Deuteranopia (green-blind)
#E8D577
Tritanopia (blue-blind)
#FCC2BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eccf74;
/* rgb */ color: rgb(236, 207, 116);
/* oklch */ color: oklch(86.0% 0.116 92.2);
Tailwind
colors: {
  custom: {
    50: '#f4dd9e',
    500: '#eccf74',
    950: '#000000',
  },
}
SCSS
$custom: #eccf74;
$custom-light: #f4dd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf74",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 45.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86019,
    "c": 0.11567,
    "h": 92.2
  },
  "luminance": 0.63719
}

Semantic roles & 50–950 ramp

primary
#ECCF74
secondary
#4060C5
accent
#3ED80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCF74

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

Preview Lab → · Contrast checker → · Palette generator →

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