#ECD761#ECD761

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

Color values

HEX#ECD761
RGBrgb(236, 215, 97)
HSLhsl(51, 79%, 65%)
HSVhsv(51, 59%, 93%)
CMYKcmyk(0%, 8.9%, 58.9%, 7.5%)
CIE-LABlab(85.65, -6.76, 59.56)
CIE-LCHlch(85.65, 59.95, 96.47°)
OKLaboklab(87.4% -0.0225 0.1375)
OKLCHoklch(87.4% 0.139 99.3)
XYZxyz(61.0525, 67.2994, 21.0811)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD761 #6176EC
analogous
#EC9161 #ECD761 #BCEC61
triadic
#ECD761 #61ECD7 #D761EC
tetradic
#ECD761 #61EC91 #6176EC #EC61BC
square
#ECD761 #61EC91 #6176EC #EC61BC
split-complementary
#ECD761 #61BCEC #9161EC
monochromatic
#BCA317 #E5C92A #ECD761 #F3E598 #F9F3CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD761#FFFFFF#000000##000000
##ECD7611.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)
#E9D255
Deuteranopia (green-blind)
#EFDA67
Tritanopia (blue-blind)
#FDC9BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd761;
/* rgb */ color: rgb(236, 215, 97);
/* oklch */ color: oklch(87.4% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#f5e392',
    500: '#ecd761',
    950: '#000000',
  },
}
SCSS
$custom: #ecd761;
$custom-light: #f5e392;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd761",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 97
  },
  "hsl": {
    "h": 50.935,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87404,
    "c": 0.1393,
    "h": 99.3
  },
  "luminance": 0.67297
}

Semantic roles & 50–950 ramp

primary
#ECD761
secondary
#364ABB
accent
#2ADB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD761

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

Preview Lab → · Contrast checker → · Palette generator →

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