#ECD75F#ECD75F

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

Color values

HEX#ECD75F
RGBrgb(236, 215, 95)
HSLhsl(51, 79%, 65%)
HSVhsv(51, 60%, 93%)
CMYKcmyk(0%, 8.9%, 59.7%, 7.5%)
CIE-LABlab(85.64, -6.89, 60.43)
CIE-LCHlch(85.64, 60.82, 96.51°)
OKLaboklab(87.38% -0.0231 0.1391)
OKLCHoklch(87.38% 0.141 99.4)
XYZxyz(60.9605, 67.2625, 20.5962)
Luminance0.6726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD75F #5F74EC
analogous
#EC915F #ECD75F #BAEC5F
triadic
#ECD75F #5FECD7 #D75FEC
tetradic
#ECD75F #5FEC91 #5F74EC #EC5FBA
square
#ECD75F #5FEC91 #5F74EC #EC5FBA
split-complementary
#ECD75F #5FBAEC #915FEC
monochromatic
#BAA216 #E6C928 #ECD75F #F2E596 #F9F2CC

Accessibility & contrast

On white

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

On black

14.45
#ECD75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD75F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD75F#FFFFFF#000000##000000
##ECD75F1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd75f;
/* rgb */ color: rgb(236, 215, 95);
/* oklch */ color: oklch(87.4% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#f5e391',
    500: '#ecd75f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd75f;
$custom-light: #f5e391;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd75f",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 51.064,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87383,
    "c": 0.14097,
    "h": 99.4
  },
  "luminance": 0.6726
}

Semantic roles & 50–950 ramp

primary
#ECD75F
secondary
#3649BA
accent
#2ADB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD75F

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

Preview Lab → · Contrast checker → · Palette generator →

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