#ECD470#ECD470

#ECD470 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.123 H 96.1°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#ECD470
RGBrgb(236, 212, 112)
HSLhsl(48, 77%, 68%)
HSVhsv(48, 53%, 93%)
CMYKcmyk(0%, 10.2%, 52.5%, 7.5%)
CIE-LABlab(85.04, -4.10, 51.96)
CIE-LCHlch(85.04, 52.12, 94.51°)
OKLaboklab(86.97% -0.0132 0.1227)
OKLCHoklch(86.97% 0.123 96.1)
XYZxyz(61.0623, 66.0922, 24.8667)
Luminance0.6609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD470 #7088EC
analogous
#EC9670 #ECD470 #C6EC70
triadic
#ECD470 #70ECD4 #D470EC
tetradic
#ECD470 #70EC96 #7088EC #EC70C6
square
#ECD470 #70EC96 #7088EC #EC70C6
split-complementary
#ECD470 #70C6EC #9670EC
monochromatic
#C7A61A #E5C43A #ECD470 #F3E4A6 #FAF4DC

Accessibility & contrast

On white

1.48
#ECD470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#ECD470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD470
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD470#FFFFFF#000000##000000
##ECD4701.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D067
Deuteranopia (green-blind)
#ECD874
Tritanopia (blue-blind)
#FCC7BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd470;
/* rgb */ color: rgb(236, 212, 112);
/* oklch */ color: oklch(87.0% 0.123 96.1);
Tailwind
colors: {
  custom: {
    50: '#f4e19b',
    500: '#ecd470',
    950: '#000000',
  },
}
SCSS
$custom: #ecd470;
$custom-light: #f4e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd470",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 112
  },
  "hsl": {
    "h": 48.387,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86969,
    "c": 0.12338,
    "h": 96.1
  },
  "luminance": 0.6609
}

Semantic roles & 50–950 ramp

primary
#ECD470
secondary
#3C56C4
accent
#34D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD470

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

Preview Lab → · Contrast checker → · Palette generator →

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