#ECD770#ECD770

#ECD770 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.6% C 0.126 H 98.0°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#ECD770
RGBrgb(236, 215, 112)
HSLhsl(50, 77%, 68%)
HSVhsv(50, 53%, 93%)
CMYKcmyk(0%, 8.9%, 52.5%, 7.5%)
CIE-LABlab(85.81, -5.62, 52.87)
CIE-LCHlch(85.81, 53.17, 96.07°)
OKLaboklab(87.58% -0.0176 0.1247)
OKLCHoklch(87.58% 0.126 98)
XYZxyz(61.8192, 67.6061, 25.1190)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD770 #7085EC
analogous
#EC9970 #ECD770 #C3EC70
triadic
#ECD770 #70ECD7 #D770EC
tetradic
#ECD770 #70EC99 #7085EC #EC70C3
square
#ECD770 #70EC99 #7085EC #EC70C3
split-complementary
#ECD770 #70C3EC #9970EC
monochromatic
#C7AA1A #E5C83A #ECD770 #F3E6A6 #FAF5DC

Accessibility & contrast

On white

1.45
#ECD770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#ECD770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD770
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD770#FFFFFF#000000##000000
##ECD7701.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#EEDA74
Tritanopia (blue-blind)
#FCCABF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd770;
/* rgb */ color: rgb(236, 215, 112);
/* oklch */ color: oklch(87.6% 0.126 98.0);
Tailwind
colors: {
  custom: {
    50: '#f4e39b',
    500: '#ecd770',
    950: '#000000',
  },
}
SCSS
$custom: #ecd770;
$custom-light: #f4e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd770",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 49.839,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87575,
    "c": 0.12588,
    "h": 98
  },
  "luminance": 0.67604
}

Semantic roles & 50–950 ramp

primary
#ECD770
secondary
#3C53C4
accent
#2FD90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD770

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

Preview Lab → · Contrast checker → · Palette generator →

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