#ECD762#ECD762

#ECD762 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.138 H 99.2°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#ECD762
RGBrgb(236, 215, 98)
HSLhsl(51, 78%, 65%)
HSVhsv(51, 58%, 93%)
CMYKcmyk(0%, 8.9%, 58.5%, 7.5%)
CIE-LABlab(85.66, -6.69, 59.13)
CIE-LCHlch(85.66, 59.51, 96.45°)
OKLaboklab(87.41% -0.0222 0.1367)
OKLCHoklch(87.41% 0.138 99.2)
XYZxyz(61.0995, 67.3181, 21.3282)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD762 #6277EC
analogous
#EC9262 #ECD762 #BCEC62
triadic
#ECD762 #62ECD7 #D762EC
tetradic
#ECD762 #62EC92 #6277EC #EC62BC
square
#ECD762 #62EC92 #6277EC #EC62BC
split-complementary
#ECD762 #62BCEC #9262EC
monochromatic
#BDA417 #E5C92B #ECD762 #F3E599 #F9F3CF

Accessibility & contrast

On white

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

On black

14.46
#ECD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD762
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD762#FFFFFF#000000##000000
##ECD7621.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D256
Deuteranopia (green-blind)
#EFDA68
Tritanopia (blue-blind)
#FDC9BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd762;
/* rgb */ color: rgb(236, 215, 98);
/* oklch */ color: oklch(87.4% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#f5e392',
    500: '#ecd762',
    950: '#000000',
  },
}
SCSS
$custom: #ecd762;
$custom-light: #f5e392;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd762",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 50.87,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87414,
    "c": 0.13845,
    "h": 99.2
  },
  "luminance": 0.67316
}

Semantic roles & 50–950 ramp

primary
#ECD762
secondary
#374BBC
accent
#2ADB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD762

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

Preview Lab → · Contrast checker → · Palette generator →

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