#ECD168#ECD168

#ECD168 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.3% C 0.128 H 95.1°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#ECD168
RGBrgb(236, 209, 104)
HSLhsl(48, 78%, 67%)
HSVhsv(48, 56%, 93%)
CMYKcmyk(0%, 11.4%, 55.9%, 7.5%)
CIE-LABlab(84.19, -3.20, 54.72)
CIE-LCHlch(84.19, 54.81, 93.35°)
OKLaboklab(86.27% -0.0115 0.1279)
OKLCHoklch(86.27% 0.128 95.1)
XYZxyz(59.8936, 64.4360, 22.3766)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD168 #6883EC
analogous
#EC8F68 #ECD168 #C5EC68
triadic
#ECD168 #68ECD1 #D168EC
tetradic
#ECD168 #68EC8F #6883EC #EC68C5
square
#ECD168 #68EC8F #6883EC #EC68C5
split-complementary
#ECD168 #68C5EC #8F68EC
monochromatic
#C19F18 #E5C032 #ECD168 #F3E29E #FAF2D5

Accessibility & contrast

On white

1.51
#ECD168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#ECD168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD168
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD168#FFFFFF#000000##000000
##ECD1681.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5E
Deuteranopia (green-blind)
#EAD66D
Tritanopia (blue-blind)
#FDC3B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd168;
/* rgb */ color: rgb(236, 209, 104);
/* oklch */ color: oklch(86.3% 0.128 95.1);
Tailwind
colors: {
  custom: {
    50: '#f5de96',
    500: '#ecd168',
    950: '#000000',
  },
}
SCSS
$custom: #ecd168;
$custom-light: #f5de96;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd168",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 47.727,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86268,
    "c": 0.12838,
    "h": 95.1
  },
  "luminance": 0.64433
}

Semantic roles & 50–950 ramp

primary
#ECD168
secondary
#3954C0
accent
#36DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD168

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

Preview Lab → · Contrast checker → · Palette generator →

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