#ECD167#ECD167

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

Color values

HEX#ECD167
RGBrgb(236, 209, 103)
HSLhsl(48, 78%, 66%)
HSVhsv(48, 56%, 93%)
CMYKcmyk(0%, 11.4%, 56.4%, 7.5%)
CIE-LABlab(84.18, -3.27, 55.17)
CIE-LCHlch(84.18, 55.27, 93.40°)
OKLaboklab(86.26% -0.0118 0.1287)
OKLCHoklch(86.26% 0.129 95.2)
XYZxyz(59.8431, 64.4158, 22.1107)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD167 #6782EC
analogous
#EC8F67 #ECD167 #C4EC67
triadic
#ECD167 #67ECD1 #D167EC
tetradic
#ECD167 #67EC8F #6782EC #EC67C4
square
#ECD167 #67EC8F #6782EC #EC67C4
split-complementary
#ECD167 #67C4EC #8F67EC
monochromatic
#C19E18 #E5C131 #ECD167 #F3E19D #FAF2D4

Accessibility & contrast

On white

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

On black

13.88
#ECD167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD167
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD167#FFFFFF#000000##000000
##ECD1671.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd167;
/* rgb */ color: rgb(236, 209, 103);
/* oklch */ color: oklch(86.3% 0.129 95.2);
Tailwind
colors: {
  custom: {
    50: '#f5de95',
    500: '#ecd167',
    950: '#000000',
  },
}
SCSS
$custom: #ecd167;
$custom-light: #f5de95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd167",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 47.82,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86256,
    "c": 0.12927,
    "h": 95.2
  },
  "luminance": 0.64413
}

Semantic roles & 50–950 ramp

primary
#ECD167
secondary
#3854BF
accent
#35DA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD167

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

Preview Lab → · Contrast checker → · Palette generator →

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