#ECD068#ECD068

#ECD068 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 86.1% C 0.128 H 94.5°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#ECD068
RGBrgb(236, 208, 104)
HSLhsl(47, 78%, 67%)
HSVhsv(47, 56%, 93%)
CMYKcmyk(0%, 11.9%, 55.9%, 7.5%)
CIE-LABlab(83.94, -2.69, 54.43)
CIE-LCHlch(83.94, 54.49, 92.83°)
OKLaboklab(86.07% -0.01 0.1272)
OKLCHoklch(86.07% 0.128 94.5)
XYZxyz(59.6490, 63.9468, 22.2951)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD068 #6884EC
analogous
#EC8E68 #ECD068 #C6EC68
triadic
#ECD068 #68ECD0 #D068EC
tetradic
#ECD068 #68EC8E #6884EC #EC68C6
square
#ECD068 #68EC8E #6884EC #EC68C6
split-complementary
#ECD068 #68C6EC #8E68EC
monochromatic
#C19D18 #E5BF32 #ECD068 #F3E19E #FAF2D5

Accessibility & contrast

On white

1.52
#ECD068 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#ECD068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD068
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD068#FFFFFF#000000##000000
##ECD0681.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5E
Deuteranopia (green-blind)
#EAD56C
Tritanopia (blue-blind)
#FDC2B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd068;
/* rgb */ color: rgb(236, 208, 104);
/* oklch */ color: oklch(86.1% 0.128 94.5);
Tailwind
colors: {
  custom: {
    50: '#f5de96',
    500: '#ecd068',
    950: '#000000',
  },
}
SCSS
$custom: #ecd068;
$custom-light: #f5de96;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd068",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 104
  },
  "hsl": {
    "h": 47.273,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86067,
    "c": 0.12762,
    "h": 94.5
  },
  "luminance": 0.63944
}

Semantic roles & 50–950 ramp

primary
#ECD068
secondary
#3955C0
accent
#37DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD068

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

Preview Lab → · Contrast checker → · Palette generator →

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