#ECD26C#ECD26C

#ECD26C is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.5% C 0.126 H 95.3°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#ECD26C
RGBrgb(236, 210, 108)
HSLhsl(48, 77%, 67%)
HSVhsv(48, 54%, 93%)
CMYKcmyk(0%, 11%, 54.2%, 7.5%)
CIE-LABlab(84.49, -3.40, 53.20)
CIE-LCHlch(84.49, 53.31, 93.66°)
OKLaboklab(86.52% -0.0116 0.125)
OKLCHoklch(86.52% 0.126 95.3)
XYZxyz(60.3477, 65.0114, 23.5541)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD26C #6C86EC
analogous
#EC926C #ECD26C #C6EC6C
triadic
#ECD26C #6CECD2 #D26CEC
tetradic
#ECD26C #6CEC92 #6C86EC #EC6CC6
square
#ECD26C #6CEC92 #6C86EC #EC6CC6
split-complementary
#ECD26C #6CC6EC #926CEC
monochromatic
#C4A219 #E5C136 #ECD26C #F3E3A2 #FAF3D8

Accessibility & contrast

On white

1.50
#ECD26C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#ECD26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD26C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD26C#FFFFFF#000000##000000
##ECD26C1.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE63
Deuteranopia (green-blind)
#EBD670
Tritanopia (blue-blind)
#FCC5BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd26c;
/* rgb */ color: rgb(236, 210, 108);
/* oklch */ color: oklch(86.5% 0.126 95.3);
Tailwind
colors: {
  custom: {
    50: '#f5df99',
    500: '#ecd26c',
    950: '#000000',
  },
}
SCSS
$custom: #ecd26c;
$custom-light: #f5df99;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd26c",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 108
  },
  "hsl": {
    "h": 47.813,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86517,
    "c": 0.12552,
    "h": 95.3
  },
  "luminance": 0.65009
}

Semantic roles & 50–950 ramp

primary
#ECD26C
secondary
#3A56C2
accent
#36D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD26C

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

Preview Lab → · Contrast checker → · Palette generator →

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