#ECD462#ECD462

#ECD462 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.136 H 97.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#ECD462
RGBrgb(236, 212, 98)
HSLhsl(50, 78%, 65%)
HSVhsv(50, 58%, 93%)
CMYKcmyk(0%, 10.2%, 58.5%, 7.5%)
CIE-LABlab(84.90, -5.17, 58.27)
CIE-LCHlch(84.90, 58.50, 95.07°)
OKLaboklab(86.81% -0.0178 0.1348)
OKLCHoklch(86.81% 0.136 97.5)
XYZxyz(60.3426, 65.8043, 21.0759)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD462 #627AEC
analogous
#EC8F62 #ECD462 #BFEC62
triadic
#ECD462 #62ECD4 #D462EC
tetradic
#ECD462 #62EC8F #627AEC #EC62BF
square
#ECD462 #62EC8F #627AEC #EC62BF
split-complementary
#ECD462 #62BFEC #8F62EC
monochromatic
#BDA017 #E5C52B #ECD462 #F3E399 #F9F2CF

Accessibility & contrast

On white

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

On black

14.16
#ECD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD462
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD462#FFFFFF#000000##000000
##ECD4621.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#EDD867
Tritanopia (blue-blind)
#FDC6BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd462;
/* rgb */ color: rgb(236, 212, 98);
/* oklch */ color: oklch(86.8% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#f5e092',
    500: '#ecd462',
    950: '#000000',
  },
}
SCSS
$custom: #ecd462;
$custom-light: #f5e092;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd462",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 49.565,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86806,
    "c": 0.13599,
    "h": 97.5
  },
  "luminance": 0.65802
}

Semantic roles & 50–950 ramp

primary
#ECD462
secondary
#374EBC
accent
#2FDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD462

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

Preview Lab → · Contrast checker → · Palette generator →

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