#ECCD68#ECCD68

#ECCD68 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.5% C 0.125 H 92.5°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#ECCD68
RGBrgb(236, 205, 104)
HSLhsl(46, 78%, 67%)
HSVhsv(46, 56%, 93%)
CMYKcmyk(0%, 13.1%, 55.9%, 7.5%)
CIE-LABlab(83.18, -1.15, 53.54)
CIE-LCHlch(83.18, 53.55, 91.23°)
OKLaboklab(85.47% -0.0055 0.1253)
OKLCHoklch(85.47% 0.125 92.5)
XYZxyz(58.9245, 62.4978, 22.0536)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD68 #6887EC
analogous
#EC8B68 #ECCD68 #C9EC68
triadic
#ECCD68 #68ECCD #CD68EC
tetradic
#ECCD68 #68EC8B #6887EC #EC68C9
square
#ECCD68 #68EC8B #6887EC #EC68C9
split-complementary
#ECCD68 #68C9EC #8B68EC
monochromatic
#C19A18 #E5BB32 #ECCD68 #F3DF9E #FAF1D5

Accessibility & contrast

On white

1.56
#ECCD68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#ECCD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD68
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD68#FFFFFF#000000##000000
##ECCD681.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5E
Deuteranopia (green-blind)
#E7D36C
Tritanopia (blue-blind)
#FDBFB6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd68;
/* rgb */ color: rgb(236, 205, 104);
/* oklch */ color: oklch(85.5% 0.125 92.5);
Tailwind
colors: {
  custom: {
    50: '#f5dc96',
    500: '#eccd68',
    950: '#000000',
  },
}
SCSS
$custom: #eccd68;
$custom-light: #f5dc96;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd68",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 45.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85466,
    "c": 0.12544,
    "h": 92.5
  },
  "luminance": 0.62495
}

Semantic roles & 50–950 ramp

primary
#ECCD68
secondary
#3958C0
accent
#3CDA0C
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECCD68

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

Preview Lab → · Contrast checker → · Palette generator →

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