#ECD278#ECD278

#ECD278 is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.7% C 0.114 H 93.7°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#ECD278
RGBrgb(236, 210, 120)
HSLhsl(47, 75%, 70%)
HSVhsv(47, 49%, 93%)
CMYKcmyk(0%, 11%, 49.2%, 7.5%)
CIE-LABlab(84.63, -2.39, 47.61)
CIE-LCHlch(84.63, 47.67, 92.87°)
OKLaboklab(86.67% -0.0074 0.1138)
OKLCHoklch(86.67% 0.114 93.7)
XYZxyz(61.0308, 65.2847, 27.1521)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD278 #7892EC
analogous
#EC9878 #ECD278 #CCEC78
triadic
#ECD278 #78ECD2 #D278EC
tetradic
#ECD278 #78EC98 #7892EC #EC78CC
square
#ECD278 #78EC98 #7892EC #EC78CC
split-complementary
#ECD278 #78CCEC #9878EC
monochromatic
#CDA51D #E4C042 #ECD278 #F4E4AE #FBF6E3

Accessibility & contrast

On white

1.49
#ECD278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#ECD278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD278
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD278#FFFFFF#000000##000000
##ECD2781.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#FCC6BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd278;
/* rgb */ color: rgb(236, 210, 120);
/* oklch */ color: oklch(86.7% 0.114 93.7);
Tailwind
colors: {
  custom: {
    50: '#f4dfa1',
    500: '#ecd278',
    950: '#000000',
  },
}
SCSS
$custom: #ecd278;
$custom-light: #f4dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd278",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 46.552,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86674,
    "c": 0.11402,
    "h": 93.7
  },
  "luminance": 0.65282
}

Semantic roles & 50–950 ramp

primary
#ECD278
secondary
#4360C5
accent
#3BD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD278

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

Preview Lab → · Contrast checker → · Palette generator →

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