#ECD965#ECD965

#ECD965 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.9% C 0.138 H 100.1°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#ECD965
RGBrgb(236, 217, 101)
HSLhsl(52, 78%, 66%)
HSVhsv(52, 57%, 93%)
CMYKcmyk(0%, 8.1%, 57.2%, 7.5%)
CIE-LABlab(86.21, -7.48, 58.40)
CIE-LCHlch(86.21, 58.88, 97.30°)
OKLaboklab(87.85% -0.0241 0.1355)
OKLCHoklch(87.85% 0.138 100.1)
XYZxyz(61.7561, 68.4006, 22.2590)
Luminance0.6840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD965 #6578EC
analogous
#EC9565 #ECD965 #BBEC65
triadic
#ECD965 #65ECD9 #D965EC
tetradic
#ECD965 #65EC95 #6578EC #EC65BB
square
#ECD965 #65EC95 #6578EC #EC65BB
split-complementary
#ECD965 #65BBEC #9565EC
monochromatic
#BFA718 #E5CC2F #ECD965 #F3E69B #F9F4D2

Accessibility & contrast

On white

1.43
#ECD965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#ECD965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD965
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD965#FFFFFF#000000##000000
##ECD9651.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD359
Deuteranopia (green-blind)
#F1DB6B
Tritanopia (blue-blind)
#FCCBBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd965;
/* rgb */ color: rgb(236, 217, 101);
/* oklch */ color: oklch(87.9% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#f5e494',
    500: '#ecd965',
    950: '#000000',
  },
}
SCSS
$custom: #ecd965;
$custom-light: #f5e494;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd965",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 51.556,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87853,
    "c": 0.1376,
    "h": 100.1
  },
  "luminance": 0.68398
}

Semantic roles & 50–950 ramp

primary
#ECD965
secondary
#384ABE
accent
#28DA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD965

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

Preview Lab → · Contrast checker → · Palette generator →

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