#ECD78E#ECD78E

#ECD78E is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.095 H 93.9°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#ECD78E
RGBrgb(236, 215, 142)
HSLhsl(47, 71%, 74%)
HSVhsv(47, 40%, 93%)
CMYKcmyk(0%, 8.9%, 39.8%, 7.5%)
CIE-LABlab(86.20, -2.79, 38.65)
CIE-LCHlch(86.20, 38.75, 94.12°)
OKLaboklab(88.01% -0.0065 0.0948)
OKLCHoklch(88.01% 0.095 93.9)
XYZxyz(63.7764, 68.3889, 35.4268)
Luminance0.6839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD78E #8EA3EC
analogous
#ECA88E #ECD78E #D2EC8E
triadic
#ECD78E #8EECD7 #D78EEC
tetradic
#ECD78E #8EECA8 #8EA3EC #EC8ED2
square
#ECD78E #8EECA8 #8EA3EC #EC8ED2
split-complementary
#ECD78E #8ED2EC #A88EEC
monochromatic
#DAB225 #E3C45A #ECD78E #F5EAC2 #FBF6E5

Accessibility & contrast

On white

1.43
#ECD78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#ECD78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD78E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD78E#FFFFFF#000000##000000
##ECD78E1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D489
Deuteranopia (green-blind)
#EBDB91
Tritanopia (blue-blind)
#FACCC5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd78e;
/* rgb */ color: rgb(236, 215, 142);
/* oklch */ color: oklch(88.0% 0.095 93.9);
Tailwind
colors: {
  custom: {
    50: '#f3e3b0',
    500: '#ecd78e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd78e;
$custom-light: #f3e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd78e",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 142
  },
  "hsl": {
    "h": 46.596,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88012,
    "c": 0.09505,
    "h": 93.9
  },
  "luminance": 0.68387
}

Semantic roles & 50–950 ramp

primary
#ECD78E
secondary
#5770C7
accent
#3DD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD78E

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

Preview Lab → · Contrast checker → · Palette generator →

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